Allow Zoomify url without TileGroup, z, x and y placeholder

This commit is contained in:
Andreas Hocevar
2017-02-10 10:41:23 +00:00
committed by Frederic Junod
parent a4a8d01bac
commit da4ddccad9
5 changed files with 28 additions and 23 deletions

View File

@@ -8,7 +8,7 @@ var imgHeight = 6100;
var source = new ol.source.Zoomify({
url: 'http://vips.vtech.fr/cgi-bin/iipsrv.fcgi?zoomify=' +
'/mnt/MD1/AD00/plan_CHU-4HD-01/FOND.TIF/{TileGroup}/{z}-{x}-{y}.jpg',
'/mnt/MD1/AD00/plan_CHU-4HD-01/FOND.TIF/',
size: [imgWidth, imgHeight],
crossOrigin: 'anonymous'
});