Zoom Controls

2270
2
01-08-2012 08:53 PM
deleted-user-K_IRAXrpGKsG
New Contributor III
Is there a way to add zoom controls (like plus and minus magnifying glasses) much like Google?
0 Kudos
2 Replies
ArchanaAgarwal
New Contributor III
Please take a look at the Geomtry Editing sample.
0 Kudos
SebastianGreifeneder1
New Contributor III
At least you can put your MapView into a RelativeLayout and add two Buttons with "+" and "-" (you can also show images within the buttons if you want). Using a RelativeLayout it is possible to show the buttons on top of the MapView, so you have the same look-and-feel as for Google Maps zoom controls.
Set an OnClickListener for the buttons and perform a
mapView.zoomin()
respectively
mapView.zoomout()
.

@ESRI_DEV2011
I don't have any zoom controls in the Geometry Editing sample ... I think you mixed it up with the magnifying glass!


Best regards,

Sebastian
0 Kudos