I’m changing my app by migrating iOS maps to google maps using Google Maps SDK for iOS V1.1.0 and I’m trying to animate the markers while adding/removing but I didn’t find any suggestions in the documentation related to this, Please suggest me how to perform the animations on GMSMarkers
How to apply animations to GMSMarker
Can you tell me which kind of animations you like to add? I think than I will be able to answer you how to do it. –
Pier
To drop pins from top, to increase and decrease frame size of pin by giving animation durations, i did these types of animations on MKMapView –
Larner
this earlier post discusses the same question. –
Wilhite
@Larner : hi buddy same task is for me and still no soulution found for drop pin from top. if you have any idea then plz share with me.thx –
Albur
#40543595 The continouse scale aniamtion on Google Marker –
Rovner
In the GMSMarker Class Reference, it says, for the appearAnimation
property:
Controls the animation used when this marker is placed on a
GMSMapView
(defaultkGMSMarkerAnimationNone
, no animation).
Using the Google Maps SDK for iOS, a marker can be made like this:
GMSMarker *startMarker = [GMSMarker markerWithPosition:@"NYC"];
startMarker.appearAnimation = kGMSMarkerAnimationPop;
startMarker.title = @"Start";
startMarker.snippet = @"My address";
startMarker.map = mapView;
i cant see animation when google map show and marker appear suddenly –
Snatch
© 2022 - 2024 — McMap. All rights reserved.