google map api v3: can I use a div instead of an image to create the custom icon?

前端 未结 2 414
伪装坚强ぢ
伪装坚强ぢ 2021-01-18 08:40

google map api v3: can I use a div instead of an image to create the custom icon?

i want to be able to hover the marker and change the icon, ven betetr if i could us

2条回答
  •  暖寄归人
    2021-01-18 09:02

    Yes, You can use Custom Overlays in place of markers:

    http://code.google.com/apis/maps/documentation/javascript/overlays.html#CustomOverlays

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题