Location of GPS point on the map
BeantwortetIn Mobile, when clicking on the Geolocate button, the GPS location is always shown centered on the map. Is there a way to put the GPS location more towards the bottom? I noticed a 'Navigation' option in the ArcGIS runtime documentation, and was wondering if I can use that in some way.
-
Hi Berend,
We support the following operations:
"geolocation.auto-recenter" => LocationDisplayAutoPanMode.Recenter
"geolocation.auto-recenter-and-reorient" => LocationDisplayAutoPanMode.CompassNavigationIt does sound like LocationDisplayAutoPanMode.Navigation would do what you want. There aren't any existing operations to enable LocationDisplayAutoPanMode.Navigation. However, if you're using the Mobile SDK, you should simply be able to do a move like this:
mapView.LocationDisplay.AutoPanMode = LocationDisplayAutoPanMode.Navigation;Jeff
1
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar