I started programming with android studio and arcgis not long ago, and I'm facing some problems related to ArcGis.
I implemented the following tutorial in my application: https://developers.arcgis.com/android/java/sample-code/display-device-location/
Everything worked perfectly, however I am not able to change the icon of the device location when I click in RECENTER for example. Can someone help me? It's probably something simple that I'm missing.
Hi GuilhermeFernandes,
You can change the default symbol for location display by setting a Custom Symbol.
Example:
SimpleMarkerSymbol defaultSms = new SimpleMarkerSymbol(SimpleMarkerSymbol.Style.TRIANGLE, Color.BLUE, 30);
locationDisplay.setDefaultSymbol(defaultSms);
Thanks
Rama
Thanks Rama. Worked perfectly. Worked perfectly. In that case, you added a triangle to the location. Is it possible to add an image?
Take a look at PictureMarkerSymbol
This sample shows how they work.
https://github.com/Esri/arcgis-runtime-samples-android/tree/master/java/picture-marker-symbols