dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
GeolocationOptions Class
An object used for setting optional position parameters.
default null
ArcGIS Maps SDK for JavaScript
public class GeolocationOptions : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 GeolocationOptions
Properties
GeolocationOptions.EnableHighAccuracy Property
The enableHighAccuracy member provides a hint that the application would like to receive the most accurate location data. The intended purpose of this member is to allow applications to inform the implementation that they do not require high accuracy geolocation fixes and, therefore, the implementation MAY avoid using geolocation providers that consume a significant amount of power (e.g., GPS).
public System.Nullable<bool> EnableHighAccuracy { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
The enableHighAccuracy member can result in slower response times or increased power consumption. The user might also disable this capability, or the device might not be able to provide more accurate results than if the flag wasn’t specified.
GeolocationOptions.MaximumAge Property
The maximumAge member indicates that the web application is willing to accept a cached position whose age is no greater than the specified time in milliseconds.
public System.Nullable<long> MaximumAge { get; set; }
Property Value
GeolocationOptions.Timeout Property
The timeout member denotes the maximum length of time, expressed in milliseconds, before acquiring a position expires.
public System.Nullable<long> Timeout { get; set; }
Property Value
Remarks
The time spent waiting for the document to become visible and for obtaining permission to use the API is not included in the period covered by the timeout member. The timeout member only applies when acquiring a position begins.