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
e3c1007ae2
commit
bccbf5ecf1
@ -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