How do you drop a pin on a MapView in Android?

I can find the pin for the corresponding locations in MapView . I want this perch to drop onto the map.

How to use animation for this? Any ideas?

+4
source share
2 answers

First of all, take a look at this guide, which explains how to create pin overlays: http://www.androidguys.com/2008/09/09/maps-itemizedoverlay-and-you/

then notice the onDraw method of the inherited overlay. that where you can animate the connections in which the output is drawn.

0
source

Departure

http://developer.android.com/guide/topics/graphics/2d-graphics.html

It will show you how to use animation animations and transmissions.

0
source

Source: https://habr.com/ru/post/1302733/


All Articles