Add CSS styled marker to google maps

前端 未结 4 1275
遇见更好的自我
遇见更好的自我 2020-12-03 18:10

Can someone please advise how I could add this animated marker to the below google maps API.

The below is the standard google maps api code with option to give imag

4条回答
  •  孤街浪徒
    2020-12-03 18:39

    Use RichMarker for Google Maps v3 - usage:

    curMarker = new RichMarker({
        position: new google.maps.LatLng(position),
        map: map,
        content: '
    Bar
    ' });

    JSFiddle example.

提交回复
热议问题