Google Maps Native Marker


#1

Anyone knows how to insert google maps native marker with .gif and make it animate?


#2

@wf9a5m75 Would you help me out? thanks


#3

while creating marker you can specify which image you would like to set as a marker. You can set animated GIF as icon image.

}
let newMarker = new google.maps.Marker({
position: latlong
map: this.map,
icon: { url: ‘assets/Images/mygif.gif’, scaledSize: new google.maps.Size(30, 30), zindex: 99999 },
});


#4

Hi thanks for the reply. However I am talking about google maps native plugin here

https://github.com/ionic-team/ionic-native-google-maps/blob/master/documents/README.md

The gif is not annimating


#5

This should work with native plugin as well