google-map icon indicating copy to clipboard operation
google-map copied to clipboard

Marker animation DROP and BOUNCE not working in @em-polymer/google-map

Open aneesshameed opened this issue 6 years ago • 1 comments

Have been trying to add animation on to markers, but it is not working. Same was working sweet in P1, but not in p2 and p3.

Tried adding adding animation="BOUNCE" in Webcomponents Page. Doesn't work

<google-map fit-to-markers id="map" map="{{map}}" api-key="AAIzaSyD3E1D9b-Z7ekrT3tbhl_dy8DCXuIuDDRc" version="3.34">
     <google-map-marker animation="BOUNCE" slot="markers" latitude="{{lat}}" longitude="{{long}}">
          You are here
     </google-map-marker>  
</google-map>

aneesshameed avatar Feb 12 '19 13:02 aneesshameed

I've also facing some problem with google-map-marker which is related to the animation.

<google-map latitude="" longitude="" api-key="[[apiKey]]" zoom="13" fit-to-markers>
   <google-map-marker animation="BOUNCE" slot="markers" id="marker" latitude="" longitude="" api-key="[[apiKey]]"></google-map-marker>
     <template is="dom-repeat" items="[[locations]]">
       <google-map-marker slot="markers" latitude="[[item.lat]]" longitude="[[item.lon]]" api-key="[[apiKey]]" draggable="true"></google-map-marker>
   </template>
</google-map> 

LeongTitanFour avatar Jul 16 '19 01:07 LeongTitanFour