How to display a label next to a Marker for Google Maps?

后端 未结 6 477
醉酒成梦
醉酒成梦 2020-12-13 07:22

I would like to display a text label next to the markers on google maps. I\'ve used Virtual Earth before and I\'m just starting to use Google Maps. I tried setting the Tit

6条回答
  •  情话喂你
    2020-12-13 07:32

    An alternative to using js library is to simply create a .png icon that will include your text. It sounds silly, but you can use some external service for this (like this one).

    You upload your icon, and get a link in return. If you add some text to links url - it will return your icon with that text rendered into it.

提交回复
热议问题