dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Widgets
LocateWidget Class
Provides a simple widget that animates the View to the user’s current location. The view rotates according to the direction where the tracked device is heading towards.
ArcGIS JS API
public class LocateWidget : dymaptic.GeoBlazor.Core.Components.Widgets.Widget
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Widget 🡒 LocateWidget
Properties
LocateWidget.Scale Property
Indicates the scale to set on the view when navigating to the position of the geolocated result once a location is returned from the track event.
public System.Nullable<int> Scale { get; set; }
Property Value
LocateWidget.UseHeadingEnabled Property
Indicates whether the widget will automatically rotate to user’s direction.
public bool UseHeadingEnabled { get; set; }
Property Value
LocateWidget.WidgetType Property
The type of widget
public override string WidgetType { get; }