[OSM-newbies] adding numbers to map without clutter
Andrew Errington
erringtona at gmail.com
Sat Aug 18 11:55:42 BST 2012
On Sat, 18 Aug 2012 19:50:07 Gilles Pelletier wrote:
> In my town we have a service called Taxibus.
> You call and give a starting and ending post number and the time.
> At the specified time, a taxi comes up to the starting post and takes you
> to the ending post for a low fixed fee.
> I would like to put on the web a page with openstreetmap imbedded and with
> all the post numbers included.
> This might clutter up the global map so is there a way to add them on the
> fly as the map is loaded and still retain the capability for the map to be
> expanded, reduced, moved, etc?
You should take a look at OpenLayers.
You can make a webpage with OSM as the background, then add your own
information as a transparent layer on top. You can have many layers and turn
them on and off.
Here is a very simple example:
http://wiki.openstreetmap.org/wiki/Openlayers_POI_layer_example
But there are many other examples on the web, and a lot of OpenLayers
documentation.
Best wishes,
Andrew
More information about the newbies
mailing list