Bookmarks widget

Explore in the sandboxView live

This sample demonstrates how to display a Bookmarks widget. The Bookmarks widget allows users to quickly navigate to a particular area of interest.It displays a list of bookmarks, which typically is defined inside the web map.

When editingEnabled is true, the user can add, edit, reorder, or delete bookmarks from the widget through the widget's UI. When a new bookmark is added, the bookmark's viewpoint is set to the current scale, rotation, and extent of the view and a screenshot of the view is added as the new bookmark's thumbnail. When editing a bookmark, you have the option to update or remove the bookmark's thumbnail, and when you click the "Save" button, the bookmark's viewpoint will update to match the current view.

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