I have a MapView and instatiate an ItemizedOverlayItem in the onCreate() method. My problem is, that I want to center it to the screen instead of a GeoPoint on the map. Is there a way to do this? Also, is there a way to retrieve the relative MapPosition of the OverlayItem?
Thank you very much in advance!
use the below line to move to center of the map.
mapView.animateTo(point);
the above point will be in center of the mapView.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.