[OpenLayers-Users] how to caculate the required tiles in the current map div

Phil Scadden p.scadden at gns.cri.nz
Mon Dec 12 15:30:04 EST 2011


Do you really have to roll your own? Geoserver and other provide 
alternative image servers for your own maps. As a default, no server 
component required, why not create TMS map tile set? (Look at MapTiler). 
OL supports it directly.
If really must roll-yer-own, then the easiest way to do it is override 
the getURL method for a tiled map set. Let OL do all the calculation for 
you.

Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.



More information about the Users mailing list