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.
Constructors
-
new Bookmark(properties)
-
Parameter:properties Objectoptional
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.
Name | Type | Summary | Class | |
---|---|---|---|---|
String | The name of the class. more details | more details | Accessor | |
Extent | The extent of the specified bookmark item. more details | more details | Bookmark | |
String | The name of the bookmark item. more details | more details | Bookmark | |
Object | The URL for a thumbnail image. more details | more details | Bookmark | |
Viewpoint | The viewpoint of the bookmark item. more details | more details | Bookmark |
Property Details
-
The name of the class. The declared class name is formatted as
esri.folder.className
.
-
extent ExtentDeprecated since 4.17. Use viewpoint instead.
-
The extent of the specified bookmark item.
-
thumbnail Object
-
The URL for a thumbnail image.
- Property:
-
url String
URL to a thumbnail to display.
-
viewpoint ViewpointSince: ArcGIS API for JavaScript 4.17
-
The viewpoint of the bookmark item. Defines the rotation, scale, and extent of the bookmark.