Property LocationDisplay
LocationDisplay
Gets the location display that manages and renders the device's current location on a MapView using a data source, such as a GPS sensor.
Declaration
public LocationDisplay LocationDisplay { get; }
Property Value
Type | Description |
---|---|
LocationDisplay | The location display settings. |
Remarks
The device location is displayed as a blue, round symbol that is automatically refreshed by regular updates from the DataSource. Although the DataSource uses the device's location data source by default, you can configure it to use data sources such as NMEA, route tracker, indoors, and simulated data sources. For more information see LocationDataSource.
Use the AutoPanMode enumerations to build navigation or compass style apps. For example, adopt Navigation to build an app that pans the MapView so that the current location symbol is shown near the bottom of the screen and the MapView is aligned with the direction of travel. You can also customize the symbols that display the device's location, its heading, the accuracy of the signal and the acquiring signal.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Android | 200.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |