Hi,
I don't think OpenLayers will automagically find the right tiles for you (or else I would like to know that option) You can create a subclass of the OpenLayers.Layer.TileCache class and override the method getUrl (and maybe the calculateGridLayout) to confirm to the layout of your tile structure Cheers Kris From: [email protected] [mailto:[email protected]] On Behalf Of ahmed soua Sent: Tuesday, May 05, 2009 3:02 PM To: [email protected] Subject: [OpenLayers-Users] How to obtain the slippy map using tiles Hi all, I have the tiles generated by mapnik of my country and i wlould ti use them to have a slippy map of my country. I have used openLayers for this but the problem, i obtained always an empty map. My tiles are generated like this : tiles/18/138391/102113.png; 102114.png ..... /138392/102115.png;102.116.png;..... /138393/102117.png; 102.117.png....... ( 18 is a zoom generated by mapnik) so when i write in the html file "../tiles/, {numZoomLevels: 18}" , is this enough to openLayers to find the tiles of the zoom 18 .??? I will very grateful for any help Ahmed -- Le bonheur est comme l'écho : il vous répond : mais il ne vient pas.
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
