BookmarksView Class

  • BookmarksView
  • class Esri::ArcGISRuntime::Toolkit::BookmarksView

    The user interface for the BookmarksView. The BookmarksView displays a collection of bookmarks in the form of viewpoints from either Webmap/Webscene or are programmatically defined. When the user selects a bookmark from the provided list, the viewpoint in the geoView is set to the new bookmark's view extent. More...

    Header: #include <BookmarksView>
    Since: Esri.ArcGISRuntime 100.15

    Public Functions

    BookmarksView(QWidget *parent = nullptr)
    ~BookmarksView()
    Esri::ArcGISRuntime::Toolkit::BookmarksViewController *controller() const
    void setMapView(Esri::ArcGISRuntime::MapGraphicsView *mapView)
    void setSceneView(Esri::ArcGISRuntime::SceneGraphicsView *sceneView)

    Detailed Description

    Note: By default, the BookmarksView will attempt to fetch the set of developer bookmarks, which require an API key to access.

    Member Function Documentation

    [invokable] BookmarksView::BookmarksView(QWidget *parent = nullptr)

    Default constructor.

    • parent Parent widget.

    The view mantains its associated controller, sets up the view itself and its model.

    Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

    BookmarksView::~BookmarksView()

    Destructor.

    Esri::ArcGISRuntime::Toolkit::BookmarksViewController *BookmarksView::controller() const

    Returns the controller.

    void BookmarksView::setMapView(Esri::ArcGISRuntime::MapGraphicsView *mapView)

    Set the GeoView.

    • mapView Sets the GeoView to a MapView.

    void BookmarksView::setSceneView(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.