Add numbering label to google map marker

前端 未结 3 1954
面向向阳花
面向向阳花 2020-12-30 15:05

May I know how to add numbering label to google map marker using google map api? Just add label, not trying to change the icon. Thank you.

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-30 15:26

    If you don't want to use custom icons for each marker then I suggest looking into creating a label class with the OverlayView and then binding the position to the marker.

    Or you could look at using something like: http://github.com/nmccready/google-maps-utility-library-v3-infobox

提交回复
热议问题