Bookmark QML Type

  • Esri.ArcGISRuntime
  • Bookmark
  • Represents a saved location on a Map. More...

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 100.0





    Detailed Description

    A Bookmark stores a Viewpoint and other information regarding a specific location on the Map.

    Only ViewpointExtent viewpoints are supported in the Map. ViewpointCenter viewpoints are not supported.

    This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

    TypeDefault Property


    Create a bookmark of the Esri campus in Redlands, CA, and add it to the map's bookmarks.

    var esriExtent = ArcGISRuntimeEnvironment.createObject("Envelope", {
                                                               xMin: -13046614.76,
                                                               yMin: 4036253.06,
                                                               xMax: -13045754.84,
                                                               yMax: 4036767.22,
                                                               spatialReference: Factory.SpatialReference.createWebMercator()
    var esriViewpoint = ArcGISRuntimeEnvironment.createObject("ViewpointExtent", {extent: esriExtent});
    var esriBookmark = ArcGISRuntimeEnvironment.createObject("Bookmark", {name: "Esri Headquarters", viewpoint: esriViewpoint});

    See also BookmarkListModel.

    Property Documentation

    name : string

    The name of the Bookmark.

    [default] viewpoint : Viewpoint

    The Viewpoint of the Bookmark.

    Signal Documentation


    Emitted when the name property of this Bookmark changes.

    Note: The corresponding handler is onNameChanged.


    Emitted when the viewpoint property of this Bookmark changes.

    Note: The corresponding handler is onViewpointChanged.

    Method Documentation

    Bookmark clone()

    Clones this Bookmark to a new instance.

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