mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
configureFromObject uses @id
This commit is contained in:
parent
8315eece4a
commit
bb924692da
@ -218,12 +218,7 @@ $.extend( $.IIIF11TileSource.prototype, $.TileSource.prototype, {
|
||||
}
|
||||
*/
|
||||
function configureFromObject( tileSource, configuration ){
|
||||
//the image_host property is not part of the iiif standard but is included here to
|
||||
//allow the info.json and info.xml specify a different server to load the
|
||||
//images from so we can test the implementation.
|
||||
if( configuration.image_host ){
|
||||
configuration.tilesUrl = configuration.image_host;
|
||||
}
|
||||
configuration.tilesUrl = configuration["@id"];
|
||||
return configuration;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user