require(["esri/webmap/Bookmark"], function(Bookmark) { /* code goes here */ });
Class: esri/webmap/Bookmark
Inheritance: Bookmark Accessor
Since: ArcGIS API for JavaScript 4.8

A bookmark is a saved map extent that allows end users to quickly navigate to a particular area of interest using the Bookmarks widget. They are usually defined part of the WebMap.

See also:

Constructors

new Bookmark(properties)
Parameter:
properties Object
optional

See the properties for a list of all the properties that may be passed into the constructor.

Property Overview

Any properties can be set, retrieved or listened to. See the Working with Properties topic.
NameTypeSummaryClass
String

The name of the class.

more details
more detailsAccessor
Extent

The extent of the specified bookmark item.

more details
more detailsBookmark
String

The name of the bookmark item.

more details
more detailsBookmark
Object

The URL for a thumbnail image.

more details
more detailsBookmark

Property Details

declaredClassStringreadonly inherited
Since: ArcGIS API for JavaScript 4.7

The name of the class. The declared class name is formatted as esri.folder.className.

extentExtent

The extent of the specified bookmark item.

nameString

The name of the bookmark item. Used as a label in the Bookmarks widget.

thumbnailObject

The URL for a thumbnail image.

Property:
url String
optional

URL to a thumbnail to display.

API Reference search results

NameTypeModule
Loading...