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 |
| Inherits | QLabel |
Public Functions
| North | |
| virtual | ~ |
| Esri | controller() const |
| void | set |
| void | set |
Detailed Description
Note: default width and height is 48.
Member Function Documentation
NorthArrow::NorthArrow (QWidget *parent = nullptr)
Constructor
- parent Parent widget.
[override virtual] NorthArrow::~NorthArrow ()
Destructor
Esri::ArcGISRuntime::Toolkit::NorthArrowController *NorthArrow::controller() const
Returns the controller object driving this widget.
void NorthArrow::setMapView (Esri::ArcGISRuntime::MapGraphicsView *mapView )
Set the GeoView.
- mapView Sets the
GeoViewto aMapView.
void NorthArrow::setSceneView (Esri::ArcGISRuntime::SceneGraphicsView *sceneView )
Set the GeoView.
- sceneView Sets the
GeoViewto aSceneView.