Pulsating Leaflet marker using CSS3 animations

前端 未结 2 1201
你的背包
你的背包 2021-02-04 07:04

I want to create a custom pulsating map marker icon on a Leaflet map. For learning purposes I don\'t want to use third party plugins.

I am using the following CSS code f

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-04 07:14

    Your original approach didn't work because you used transform (which Leaflet also uses to place it's markers).

    Example of a Leaflet placement which is overwritten:

    transform: translate3d(499px, 604px, 0px);
    

提交回复
热议问题