Graphics Layer question

1121
2
05-08-2014 07:08 AM
JosephDwyer
New Contributor II
Okay I'm fairly new to android programming and totally new to dealing with maps.  So I have an app that has a map built in and I would like to overlayer a push pin that stays centered in the map at all times.  So when you scroll or move the map around the pin stays in the middle of the map.  I would also need to be able to get the location from the pin. 

Any help would be greatly appreciated or a push in the right direction.
0 Kudos
2 Replies
JosephDwyer
New Contributor II
I was able to over lay the graphic that I wanted to use, but my next question is if I wanted to get the center point of the map how would I do that?
0 Kudos
MichaelBucari-Tovo
New Contributor II
MapView.getCenter()

If you want to get that in lat/lon, use CoordinateConversion.pointsToDecimalDegrees() or any of the other coordinate conversions.
0 Kudos