You are using a browser that is no longer supported. Please use the latest version of Google Chrome, Mozilla Firefox, Apple Safari, or Microsoft Edge. For more information please see the System Requirements.

Unsupported browser

You are using a browser that is not supported. JavaScript API works on the latest versions of Google Chrome, Mozilla Firefox, Apple Safari, or Microsoft Edge. Use one of these browsers and provide your feedback through GeoNet, the Esri Community.

  • {i18n.unsupportedBrowser.chrome}
  • Firefox
  • Safari
  • undefined
Loading...

Note: Support for 3D on mobile devices may vary, view the system requirements for more information.

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.

Sample search results

TitleSample
Loading...