Google Map Marker pulse animation?

后端 未结 4 1247
不思量自难忘°
不思量自难忘° 2021-01-30 15:08

I wonder is there any way to make Google Map Marker to pulse? Like here: http://plebeosaur.us/etc/map/

4条回答
  •  遇见更好的自我
    2021-01-30 15:40

    This may partly answer your question. You may use animated polyline like in this example: https://developers.google.com/maps/documentation/javascript/examples/overlay-symbol-animate

    Of course you may build more sophisticated animations if need. You may also switch with setInterval() images (transparent PNGs) markers or its css styles (box-shadow as per your example) so it will look as an animation.

提交回复
热议问题