@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
18 lines (17 loc) • 623 B
TypeScript
import type { BookmarkProperties } from "@vertigis/arcgis-extensions/mapping/Bookmark";
import type { Action } from "@vertigis/arcgis-extensions/support/Action";
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
import type { ItemRef } from "./ItemRef.js";
/**
* Configuration for a bookmarks component.
*/
export interface BookmarksModelProperties extends ComponentModelProperties {
/**
* The command to execute when the user clicks a bookmark.
*/
onClick?: Action;
/**
* User preferences bookmarks.
*/
userBookmarks?: (ItemRef | BookmarkProperties)[];
}