opensciencemap / vtm

a vector-tile map library written in java - running on android, desktop and within the browser
GNU Lesser General Public License v3.0
238 stars 176 forks source link

issue in production app with commit d1daa92126b724c4eb5a8200501366c5197a1768 (TileManager: load parent by default) #113

Closed stleusc closed 9 years ago

stleusc commented 9 years ago

The above code causes issues for us. In the past, one could avoid loading of parent tiles by providing a zoomtable. This would effectively turn of loading of parent tiles. Now with this change this does not work anymore since it's turned on by default and not turn off when zoomtable is provided.

I don't see any reason for this change to be in place. Why do we need it and can we fix it?

Thanks!

hjanetzek commented 9 years ago

Thanks for reminding me about the the zoomtable. It doesnt seem to be used in my code anymore. If you use it only to prevent loading of parent tiles maybe we could have a better api for this. A MapforgeLayer based on OsmTileLayer which sets proper tile manager defaults would be a nice addition ;)

anyway - fixed zoomtable in master for now