Select to view content in your preferred language

How to navigate to different coordinates on a map.

1355
3
08-08-2016 01:57 PM
PerlaAmbriz
Deactivated User

Hello, Im building a map application of a campus. I want the user to be able to press a button for a building and have the mapoptions.center="" xml attribute in the mapview (or some other code) change the map to that location(building). Does anyone know if there is any code out there that does this and navigates the map to different coordinates? i hope my question is not confusing. Here is a picture of one of my buildings. JackBrown.jpg

0 Kudos
3 Replies
AlexanderNohe1
Honored Contributor

MapView.CenterAt should provide what you need:

https://developers.arcgis.com/android/api-reference/reference/com/esri/android/map/MapView.html#cent..., double, boolean)

Are you having issues with this command?

PerlaAmbriz
Deactivated User

Thank You!!

0 Kudos
AlexanderNohe1
Honored Contributor

If this helped address your question, please mark the answer as correct.

0 Kudos