Skip to content
import BookmarksVisibleElements from "@arcgis/core/widgets/Bookmarks/BookmarksVisibleElements.js";
Inheritance:
BookmarksVisibleElementsAccessor
Since
ArcGIS Maps SDK for JavaScript 5.0

The visible elements that are displayed within the widget. This provides the ability to turn individual elements of the widget's display on/off.

bookmarks-visibleElements

Constructors

Constructor

Constructor
Parameters
ParameterTypeDescriptionRequired
properties
See the properties table for a list of all the properties that may be passed into the constructor.

Properties

Any properties can be set, retrieved or listened to. See the Watch for changes topic.

addBookmarkButton

Property
Type
boolean

Indicates whether the button to add a new bookmark displays.

Default value
false

closeButton

Property
Type
boolean

Indicates whether to display a close button at the top of the widget.

Default value
false

collapseButton

Property
Type
boolean

Indicates whether to display a collapse button at the top of the widget.

Default value
false

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor
Since
ArcGIS Maps SDK for JavaScript 4.7

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

editBookmarkButton

Property
Type
boolean

Indicates whether the button to edit a bookmark displays.

Default value
false

filter

Property
Type
boolean

Indicates whether the bookmarks filter displays.

Default value
false

flow

Property
Type
boolean

Determines whether the widget should be shown within its built-in flow component or if the flow component should be excluded. The widget will be displayed within its original flow component if set to true. The flow component will be omitted from the widget if set to false. To place the widget into an existing Calcite flow component, set this property to false.

Default value
true

heading

Property
Type
boolean

Indicates whether to display the widget heading. The heading text is "Bookmarks".

Default value
false

thumbnail

Property
Type
boolean

Indicates whether the thumbnail associated with the bookmark displays.

Default value
true

time

Property
Type
boolean

Indicates whether the time (h:m:s) is displayed alongside the date if the bookmark has a time extent defined.

Default value
true