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

How to place a number in marker

0

How can I place a number in the marker on Open Street Map. I get number from database and I want to display it in the marker.

I want to display number in marker like this. This link is for google map but I want to do the same in open street map http://plnkr.co/edit/jep5mVN3DsVRgtlz1GGQ?p=preview

asked 08 Nov '19, 10:23

Priyanka55's gravatar image

Priyanka55
11112
accept rate: 0%


One Answer:

0

You might want to have a look at Leaflet. It's a map vendor independent Javascript library for displaying maps and information on top of it.

I have never used "number in marker" myself, though. Please check for yourself if you can do that. It's well documented and there are many plugins available if what you are looking for is not possible out of the box.

answered 08 Nov '19, 14:28

TZorn's gravatar image

TZorn
12.3k764225
accept rate: 15%

Source code available on GitHub .