[OSM-talk] Slippy map - clickable POI

Martijn van Oosterhout kleptog at gmail.com
Tue Feb 19 08:51:09 GMT 2008


On Feb 18, 2008 9:01 PM, Gregory <nomoregrapes at googlemail.com> wrote:
> I've created an openlayers slippy map here (the tiles are via kosmos):
>  http://www.livingwithdragons.com/maps/slippytest.php
>
> And if you click on any of the pub symbols, you get a pop up (well text
> displaying at the side on the page would be nicer, but I rekon I can figure
> that out).
>  Thing is if you look at the code(line 70+) you'll see I'm manually entering
> in the lat/lon box where each symbol appears. Not ideal, especially when the
> POI are in the map data.

You need something on the server to get the POI data on the fly as in:
http://dev.openstreetmap.org/~kleptog/pois/pois.html

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the talk mailing list