dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Interfaces

IGeolocationPositioning Interface

Interface for types LocateViewModel, TrackViewModel

public interface IGeolocationPositioning :
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent

Derived
LocateViewModel

Implements IMapComponent

Properties

IGeolocationPositioning.GeolocationOptions Property

An object used for setting optional position parameters.
default null
ArcGIS Maps SDK for JavaScript

dymaptic.GeoBlazor.Core.Components.GeolocationOptions? GeolocationOptions { get; set; }

Property Value

GeolocationOptions

IGeolocationPositioning.GoToLocationEnabled Property

Indicates whether to navigate the view to the position and scale of the geolocated result.
default true
ArcGIS Maps SDK for JavaScript

System.Nullable<bool> GoToLocationEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

IGeolocationPositioning.Graphic Property

The graphic used to show the user’s location on the map.
ArcGIS Maps SDK for JavaScript

dymaptic.GeoBlazor.Core.Components.Graphic? Graphic { get; set; }

Property Value

Graphic

IGeolocationPositioning.Scale Property

Indicates the scale to set on the view when navigating to the position of the geolocated result, after a location is returned from the track event.
default null
ArcGIS Maps SDK for JavaScript

System.Nullable<double> Scale { get; set; }

Property Value

System.Nullable<System.Double>

Methods

IGeolocationPositioning.GetGeolocationOptions() Method

Asynchronously retrieve the current value of the GeolocationOptions property.

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.GeolocationOptions?> GetGeolocationOptions();

Returns

System.Threading.Tasks.Task<GeolocationOptions>

IGeolocationPositioning.GetGoToLocationEnabled() Method

Asynchronously retrieve the current value of the GoToLocationEnabled property.

System.Threading.Tasks.Task<System.Nullable<bool>> GetGoToLocationEnabled();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Boolean>>

IGeolocationPositioning.GetGraphic() Method

Asynchronously retrieve the current value of the Graphic property.

System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Graphic?> GetGraphic();

Returns

System.Threading.Tasks.Task<Graphic>

IGeolocationPositioning.GetScale() Method

Asynchronously retrieve the current value of the Scale property.

System.Threading.Tasks.Task<System.Nullable<double>> GetScale();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

IGeolocationPositioning.SetGeolocationOptions(GeolocationOptions) Method

Asynchronously set the value of the GeolocationOptions property after render.

System.Threading.Tasks.Task SetGeolocationOptions(dymaptic.GeoBlazor.Core.Components.GeolocationOptions? value);

Parameters

value GeolocationOptions

Returns

System.Threading.Tasks.Task

IGeolocationPositioning.SetGoToLocationEnabled(Nullable) Method

Asynchronously set the value of the GoToLocationEnabled property after render.

System.Threading.Tasks.Task SetGoToLocationEnabled(System.Nullable<bool> value);

Parameters

value System.Nullable<System.Boolean>

Returns

System.Threading.Tasks.Task

IGeolocationPositioning.SetGraphic(Graphic) Method

Asynchronously set the value of the Graphic property after render.

System.Threading.Tasks.Task SetGraphic(dymaptic.GeoBlazor.Core.Components.Graphic value);

Parameters

value Graphic

Returns

System.Threading.Tasks.Task

IGeolocationPositioning.SetScale(Nullable) Method

Asynchronously set the value of the Scale property after render.

System.Threading.Tasks.Task SetScale(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

Returns

System.Threading.Tasks.Task