OverviewMap Class

  • OverviewMap
  • class Esri::ArcGISRuntime::Toolkit::OverviewMap

    Defines a small "overview" (or "inset") map displaying a representation of the current viewpoint of the given GeoView. For MapViews, the current viewpoint will be represented by a polygon displaying the visible area of the MapView. For SceneViews, the current viewpoint will be represented by a reticle (crosshairs) displaying the viewpoint center. More...

    Header: #include <OverviewMap>
    Inherits: QWidget

    Public Functions

    OverviewMap(QWidget *parent = nullptr)
    virtual ~OverviewMap() override
    Esri::ArcGISRuntime::Toolkit::OverviewMapController *controller() const
    void setGeoView(Esri::ArcGISRuntime::MapGraphicsView *mapView)
    void setGeoView(Esri::ArcGISRuntime::SceneGraphicsView *sceneView)

    Detailed Description

    Note: By default, the OverviewMap will attempt to use an ArcGIS Topographic basemap, which requires an API key to access.

    Member Function Documentation

    OverviewMap::OverviewMap(QWidget *parent = nullptr)

    Constructor

    • parent Parent widget.

    [override virtual] OverviewMap::~OverviewMap()

    Destructor

    Esri::ArcGISRuntime::Toolkit::OverviewMapController *OverviewMap::controller() const

    Returns the controller object driving this widget.

    void OverviewMap::setGeoView(Esri::ArcGISRuntime::MapGraphicsView *mapView)

    Set the GeoView.

    • mapView Sets the GeoView to a MapView.

    void OverviewMap::setGeoView(Esri::ArcGISRuntime::SceneGraphicsView *sceneView)

    Set the GeoView.

    • sceneView Sets the GeoView to a SceneView.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close