layout: default title: CompassWidget parent: Core Classes —
dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Widgets
CompassWidget Class
The Compass widget indicates where north is in relation to the current view rotation or camera heading. Clicking
the Compass widget rotates the view to face north (heading = 0). This widget is added to a SceneView by default.
The icon for the Compass widget is determined based upon the view’s spatial reference. If the view’s spatial
reference is not Web Mercator or WGS84 a dial icon will be used, however when the spatial reference is Web Mercator
or WGS84 the icon will be a north arrow.
ArcGIS Maps SDK for JavaScript
public class CompassWidget : dymaptic.GeoBlazor.Core.Components.Widgets.Widget
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Widget 🡒 CompassWidget
Properties
CompassWidget.Label Property
The widget’s default label.
public string? Label { get; set; }
Property Value
CompassWidget.WidgetType Property
The type of widget
public override string WidgetType { get; }