Skip to content
GuidesToolkitAPI

BookmarksProps

BookmarksProps = ViewProps & object

Defined in: packages/expo-arcgis-toolkit/src/Bookmarks.tsx:19

optional bookmarks?: Bookmark[]

The bookmarks to list.

the bookmarks of the view's map or scene

optional geoView?: RefObject<GeoViewHandle | null>

The view the bookmarks belong to, which moves to the one picked: a <MapView>, <SceneView> or <LocalSceneView> ref.

the view the bookmarks are placed in

optional onIsPresentedChange?: (isPresented) => void

Called with false when the bookmarks ask to be hidden: after a pick, or on Done.

boolean

void

optional onSelectionChange?: (bookmark) => void

Called with the bookmark picked.

Bookmark

void