[Openstreetmap-dev] Overview of the workings of the 'slippy map'
mikel_maron at yahoo.com
Sun Jan 8 15:34:37 GMT 2006
Sure, I can do. Here's the basic usage, as a start.
In svn, /ruby/editing-interface/index.rhtml, replace the value of tileURL with the url for Freemap.
When the slippy map requests tiles it appends
"&WIDTH="+(this.tilewidth)+"&HEIGHT="+(this.tileheight)+"&BBOX="+lt+","+tp+","+rt+","+bt;to tileURL. "BBOX" is specified as west,south,east,north
So as long as Freemap can respond to that request, everything should work ok.
----- Original Message ----
From: Nick Whitelegg <Nick.Whitelegg at solent.ac.uk>
To: openstreetmap-dev at vr.ucl.ac.uk
Sent: Sunday, January 08, 2006 3:20:11 PM
Subject: [Openstreetmap-dev] Overview of the workings of the 'slippy map'
Is anyone in a position to give me an overview of the workings of the
'slippy map'? I would like, on the dev server, to try and combine my
Freemap rendering code with the slippy map. I realise of course I could sit
down and look at the code myself, but time is tight for me ATM and if
anyone is well-versed in the code it would probably speed up things....
In particular, it seems to require a WMS/WFS XML feed. The Freemap code
does not provide this - you just tell Freemap your bounding box and it
returns the map as a PNG image. In more detail, Freemap contacts OSM and
renders the XML returned using the GD library.
Could I easily make use of the slippy map code with my existing Freemap
Openstreetmap-dev mailing list
Openstreetmap-dev at vr.ucl.ac.uk
More information about the dev