bookmark

Predefined bookmarks for use by the application. A bookmark is a saved map extent that allows end users to quickly navigate to a particular area of interest.

Referenced by: Webmap

Properties

Property Details
extent An extent object containing a spatial reference, a lower left coordinate, and an upper right coordinate defining the rectangular area of the bookmark. The spatial reference must be the same as the map spatial reference. Documentation for the envelope is in the Geometry Objects topic of the ArcGIS REST API help. If viewpoint is defined, ignore the extent property. For backwards compatibility, please save both extent and viewpoint properties.
name A string name for the bookmark.
thumbnail Object containing a thumbnail image.
timeExtent Represents the time extent for the bookmark. If the bookmark has a time extent set, it will update the time extent of the view when the bookmark is selected. Otherwise, if the time extent is not set on the bookmark, the time extent of the view will not be changed when the bookmark is selected.
viewpoint Represents the location displayed on the map. If viewpoint is defined, ignore the extent. If viewpoint is not defined, use the extent property. For backwards compatibility, please save both extent and viewpoint properties.

bookmark Example

{
  "name": "Turning Torso",
  "thumbnail": {
    "url": "https://live.staticflickr.com/46/162587578_7e5b01da61.jpg"
  },
  "viewpoint": {
    "rotation": 20.10910658523367,
    "scale": 144447.638572,
    "targetGeometry": {
      "spatialReference": {
        "latestWkid": 3857,
        "wkid": 102100
      },
      "xmin": 1433565,
      "ymin": 7465055,
      "xmax": 1465745,
      "ymax": 7485349
    }
  },
  "extent": {
    "spatialReference": {
      "latestWkid": 3857,
      "wkid": 102100
    },
    "xmin": 1433565,
    "ymin": 7465055,
    "xmax": 1465745,
    "ymax": 7485349
  },
  "timeExtent": [
    1125100800,
    null
  ]
}

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