This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Marker name/title/description

1

Hi, Is it possible to do that under or above marker will be a short text. Or maybe when mouse coursor will be on marker or click the marker there will be shown a desription. Sorry for my english.

asked 20 Feb '12, 17:37

kamil600's gravatar image

kamil600
16111
accept rate: 0%


One Answer:

2

I'm guessing that you either want to:

  • know of a website that allows users to add markers to a map created from OSM data

or

  • create a website like that yourself.

If it's the first of these, then have a look a Mapquest Open. There's a feature on there called "My Maps" that may do what you want (although unfortunately "My Maps" seems to be down at the moment).

If it's the second, then the easiest place to start is probably here. That explains how to use the Leaflet javascript library to display a slippy map similar to the ones on the OpenStreetMap and Mapquest Open front pages, but with the ability to display markers. You could also do something similar with OpenLayers.

answered 20 Feb '12, 19:26

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Source code available on GitHub .