Tom Payne
a773ab256c
Use a switch to select tier size calculation
2014-02-20 19:30:47 +01:00
Tom Payne
00eff70ae6
Use an enum for Zoomify tier size calculation option
2014-02-20 19:29:56 +01:00
Félix Girault
a045a62651
Use shorter syntax for integer division by 2
2014-02-20 16:45:08 +01:00
Félix Girault
ac785459da
Add an alternative algorithm for zoomify tier size calculation
...
Zoomify uses a different algorithm than ol3 to calculate the number of
tiles per tier.
These algorithms are compatible in most cases, but they will lead to
different results with some particular image sizes.
This update provides an option for the zoomify source to use one of
these two algorithms.
2014-02-20 11:17:16 +01:00
Tom Payne
33f0024747
Add pixelRatio to ol.TileUrlFunction
2014-01-15 15:53:46 +01:00
Tom Payne
588846fa44
Use tileClass option to ol.source.Zoomify
2014-01-02 15:53:22 +01:00
Tom Payne
71b91cd16a
Tidy up ol.source.Zoomify tile URL calculations
2014-01-02 15:26:55 +01:00
Tom Payne
94fa3fb211
Tidy up ol.source.Zoomify tile grid calculations
2014-01-02 15:26:55 +01:00
Tom Payne
36826d2e0b
Remove unused variable
2014-01-02 15:26:55 +01:00
Tom Payne
b1da2c78f2
Refactor ol.source.Zoomify to use a private tile class
2014-01-02 15:26:55 +01:00
Tom Payne
fc4364e373
No need to use private variables in ol.source.Zoomify
2013-12-16 16:08:45 +01:00
Tom Payne
af6f4fa77e
Update ol.source.Zoomify to use new exports system
2013-12-16 16:06:42 +01:00
scharrier
3fe81e451a
Remove extra tiles.
2013-12-16 16:01:13 +01:00
scharrier
beefa6845f
Resize bad tiles + changed demo image (due to crossorigin problems)
2013-12-16 16:01:08 +01:00
Olivier Terral
fe1f98899f
Add Zoomify stuff
2013-12-16 16:00:59 +01:00