How to get current Location in ArcGis map In android using Imagery Map server

458 views Asked by At

I am working In an app to develop a custom ArcGis map. I am able to show the map using base map url. I am using following fragment of code

mapView.addLayer(new ArcGISTiledMapServiceLayer(
            "http://maps.ocparks.com/arcgis/rest/services/Imagery/2013_Imagery/MapServer"));

As this map shows a particular region (orange county). now i want to get current location and show on this map. is there any way to do this? after going through several docs of ArcGis I just came to kmow that to show current location the url of base map should be --

http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer

but for imagery map server how to show current location. if any one know please help me

1

There are 1 answers

1
Ankush Sharma On BEST ANSWER

Till now it is not possible , may be using javascript it can be done. for getting current location we should use World_Street_Map as a base layer