The NorthArrow
displays a compass overlaid on the GeoView
, with the compass heading matching the current rotation of the MapView
, or Camera
heading of the SceneView
. Double-clicking on the NorthArrow
triggers the heading of the connected GeoView
to be orientated to 0 (North). More...
Header | #include <North |
- List of all members, including inherited members
- NorthArrow is part of ArcGISQtToolkitUiCppWidgetsViews group.
Public Functions
North | |
~ | |
void | set |
void | set |
Detailed Description
Note: default width and height is 48.
Member Function Documentation
[explicit]
NorthArrow::NorthArrow (QWidget *parent = nullptr)
Constructor
- parent Parent widget.
[noexcept]
NorthArrow::~NorthArrow ()
Destructor
void NorthArrow::setMapView (Esri::ArcGISRuntime::MapGraphicsView *mapView )
Set the GeoView
.
- mapView Sets the
GeoView
to aMapView
.
void NorthArrow::setSceneView (Esri::ArcGISRuntime::SceneGraphicsView *sceneView )
Set the GeoView
.
- sceneView Sets the
GeoView
to aSceneView
.