Select to view content in your preferred language

ArcGIS Runtime 100: LocationDisplayAutoPanMode

872
1
Jump to solution
08-24-2017 08:13 AM
JenniferLink
Occasional Contributor

Hello,

Can someone explain the difference between the Navigation and Compass Navigation modes of the LocationDisplayAutoPanMode in ArcGIS Runtime for .NET? 

I found these resources, but I still do not see the difference: 

Display Device Location—ArcGIS Runtime SDK for .NET Samples | ArcGIS for Developers 

LocationDisplayAutoPanMode Enumeration 

Thank you!

Jen

0 Kudos
1 Solution

Accepted Solutions
dotMorten_esri
Esri Notable Contributor

In navigation mode, the map pans to place the current location about 1/8th from the bottom. The map rotates based on the GPS Heading value.

In compass mode, the map centers on your location, and rotates based on the direction of the compass sensor.

Note that compass mode only works if your device has a compass. In Windows Desktop, there are not system-level compass APIs, and compass mode will not with the default location datasource. That would require building a custom location datasource that reads data from a custom compass device. (Windows UWP, Android and iOS does have compass support built-in).

View solution in original post

1 Reply
dotMorten_esri
Esri Notable Contributor

In navigation mode, the map pans to place the current location about 1/8th from the bottom. The map rotates based on the GPS Heading value.

In compass mode, the map centers on your location, and rotates based on the direction of the compass sensor.

Note that compass mode only works if your device has a compass. In Windows Desktop, there are not system-level compass APIs, and compass mode will not with the default location datasource. That would require building a custom location datasource that reads data from a custom compass device. (Windows UWP, Android and iOS does have compass support built-in).