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, 10:23

Priyanka55's gravatar image

Priyanka55
111
accept rate: 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.

permanent link

answered 08 Nov, 14:28

TZorn's gravatar image

TZorn
3.4k21771
accept rate: 12%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×71

question asked: 08 Nov, 10:23

question was seen: 57 times

last updated: 08 Nov, 14:28

powered by OSQA