Any way to animate a map marker?

You must Login before you can answer or comment on any questions.

I am trying to add a pulsating/animated ring around the little dot marker to give it some flair. The ring would start in the center and expand and fade out before it repeats. However, I don't even know where to begin on how I should approach this. Does anyone have any ideas? This will need to be applied to both iOS and Android apps.

2 Answers

Hi Jeremy

Do you mean the built in functionality of the map in iOS that shows your position?

— answered 10 months ago by Malcolm Hollingsworth
answer permalink
1 Comment
  • Hi Jeremy

    This could be done by using an image on an annotation, instead of the default marker. When you use an image the focus point is the center point of the image - so if you supplied a PNG with a fade out to nothing form the center point this will visually work.

    Ideally though you could then animate the image by updating the image for that annotation on an interval. However that is currently not supported. But good news it is fixed in 2.2, the ticket link below will explain.

    iOS: Map Annotation image cannot be changed dynamically Fixed v2.2.

    Hope this helps.

    — commented 10 months ago by Malcolm Hollingsworth

Yes, we're currently using the built in iOS Map Marker, we've replaced the marker with our own custom one. That's what we are currently doing, we would mind changing it if we must in order to animate it.

Your Answer

Think you can help? Login to answer this question!