AnsweredAssumed Answered

how to show current location on arcgis map in android?

Question asked by kuldeep10m2 on Jun 24, 2015
Latest reply on Jun 26, 2015 by kuldeep10m2

Hi Guys

 

I am new bee to ArcGis. I am developing ArcGis map in my Android app. may is displayed using one url in ArcGISTiledMapServiceLayer

this is my code fragment----

 

setContentView(R.layout.main);

  mMapView
= (MapView) findViewById(R.id.map);

mMapView.addLayer(new ArcGISTiledMapServiceLayer(

  "http://maps.ocparks.com/arcgis/rest/services/Imagery/2013_Imagery/MapServer"));

 

along with this url I am using some other urls for adding layers on map in ArcGISFeatureLayer. All is working good. now  I want to show current location of device on this Map. after going through several tutorials and documentations I came to know that for displaying location we must use

mMapView.addLayer(new ArcGISTiledMapServiceLayer(

  "

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

  World_Street_Map/MapServer

"));

 

so guys if there is any possible way to locate device location on ArcGis Imagery map.(not world_Street_map)

Outcomes