Change of symbol for locationChanged

343
1
11-01-2018 04:48 AM
Kai_Wellmann
New Contributor II

I want to change the symbol for the locationChanged event. I used the method setDefaultSymbol. But every time the gps changes, I get the circle-symbol. I have tried the other functions to change the symbol,  but without success.

How can I the the symbol?

0 Kudos
1 Reply
LucasDanzinger
Esri Frequent Contributor

You'll need to set a few different symbols depending on what location display mode you are in. If you are in default mode, you will need to set the default symbol, as well as the acquiring symbol and ping symbol. If you are using compass mode you will need to set the heading symbol as well. If you are using navigation mode you will need to set the course symbol. You might want to also change some of the settings like if the course symbol automatically shows when location changes or if the ping animation is turned on or not

LocationDisplay Class | ArcGIS for Developers 

0 Kudos