UNPKG

@arcgis/map-components

Version:
1,245 lines • 414 kB
{ "$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json", "version": 1.1, "tags": [ { "name": "arcgis-area-measurement-2d", "description": "The Area Measurement 2D component calculates and displays the area and perimeter of a polygon only in a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html).\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `clear(): Promise<void>` - Clear the current measurement.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void>` - Starts a new measurement.", "attributes": [ { "name": "auto-destroy-disabled", "description": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-2d/#destroy) method when you are done to\nprevent memory leaks.", "values": [] }, { "name": "icon", "description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).", "values": [] }, { "name": "label", "description": "The widget's default label.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-AreaMeasurement2D.html#label)", "values": [] }, { "name": "position", "values": [ { "name": "bottom-leading" }, { "name": "bottom-left" }, { "name": "bottom-right" }, { "name": "bottom-trailing" }, { "name": "manual" }, { "name": "top-leading" }, { "name": "top-left" }, { "name": "top-right" }, { "name": "top-trailing" } ] }, { "name": "reference-element", "description": "By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.", "values": [] }, { "name": "state", "description": "The current state of the component.", "values": [ { "name": "disabled" }, { "name": "measured" }, { "name": "measuring" }, { "name": "ready" } ] }, { "name": "unit", "description": "Unit system (imperial, metric) or specific unit used for displaying the area values.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-AreaMeasurement2D.html#unit)", "values": [ { "name": "acres" }, { "name": "ares" }, { "name": "hectares" }, { "name": "imperial" }, { "name": "metric" }, { "name": "square-centimeters" }, { "name": "square-decimeters" }, { "name": "square-feet" }, { "name": "square-inches" }, { "name": "square-kilometers" }, { "name": "square-meters" }, { "name": "square-miles" }, { "name": "square-millimeters" }, { "name": "square-nautical-miles" }, { "name": "square-us-feet" }, { "name": "square-yards" } ] } ], "references": [ { "name": "Docs", "url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-2d/" }, { "name": "Area Measurement 2D", "url": "https://developers.arcgis.com/javascript/latest/storybook/map-components/?path=/story/arcgis-area-measurement-2d--demo&singleStory=true" } ] }, { "name": "arcgis-area-measurement-3d", "description": "The Area Measurement 3D component can be added to a [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)\ncomponent to calculate and display area and perimeter of polygons.\n\n[![measurement-area-3d](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/3D_AreaMeasurement_widget.png)](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)\n\nHow the area and perimeter are computed depends on the scene's spatial reference and the length of the measured perimeter.\n\nIn **geographic coordinate systems** (GCS) and in **Web Mercator**:\n- If the measurement's perimeter is below 100 km, they are computed in a Euclidean manner,\n in an [ECEF](https://en.wikipedia.org/wiki/ECEF) coordinate system (or equivalent on other planets).\n- If the perimeter is above 100 km, they are computed geodetically, and the visualization takes\n the curvature of the planet into consideration.\n\nIn **projected coordinate systems** (PCS), apart from Web Mercator, the area and perimeter\nare always calculated in a Euclidean manner (in their respective PCS).\n\nThe area may be visualized and calculated in two ways:\n1. If all the vertices are mostly coplanar (lying on the same plane),\n the measurement polygon is formed on that plane, and area and perimeter are calculated from its geometry.\n2. If the vertices don't form a planar surface, the measurement polygon\n is projected to a horizontal plane, and area and perimeter are calculated from its geometry.\n\n![area-measurement-3d-types](https://developers.arcgis.com/javascript/latest/assets/img/apiref/widgets/area-measurement-3d-types.png)\n\nWhen the component is active, a horizontal \"laser\" line is drawn which indicates the height at the current mouse position.\nThis line can help in analyzing the heights of objects relative to each other and the terrain.\n\n**Things to consider**\n\n* Area Measurement 3D is designed to work in the Scene component. For measurements in the [Map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/)\ncomponent, use [Area Measurement 2D](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-2d/).\n* Snapping is enabled by default. Holding the `CTRL` key disables it.\n* Layer types currently supported for snapping are:\n[FeatureLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html),\n[GraphicsLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html) (except Mesh geometries),\n[GeoJSONLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoJSONLayer.html),\n[WFSLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WFSLayer.html),\n[CSVLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-CSVLayer.html),\n[3D Object SceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-SceneLayer.html),\nand [BuildingSceneLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html).\n\n**See also**\n\n- [AreaMeasurementAnalysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-AreaMeasurementAnalysis.html)\n- [Sample - Measurement in 3D](https://developers.arcgis.com/javascript/latest/sample-code/measurement-3d/)\n- [Sample - Analysis objects](https://developers.arcgis.com/javascript/latest/sample-code/analysis-objects/)\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `clear(): Promise<void>` - Clears the current measurement.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void>` - Starts a new measurement.", "attributes": [ { "name": "auto-destroy-disabled", "description": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-3d/#destroy) method when you are done to\nprevent memory leaks.", "values": [] }, { "name": "icon", "description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).", "values": [] }, { "name": "label", "description": "The component's default label.", "values": [] }, { "name": "position", "values": [ { "name": "bottom-leading" }, { "name": "bottom-left" }, { "name": "bottom-right" }, { "name": "bottom-trailing" }, { "name": "manual" }, { "name": "top-leading" }, { "name": "top-left" }, { "name": "top-right" }, { "name": "top-trailing" } ] }, { "name": "reference-element", "description": "By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.", "values": [] }, { "name": "state", "description": "The component's state. The values mean the following:\n\n* `disabled` - not ready yet\n* `ready` - ready for measuring\n* `measuring` - currently measuring\n* `measured` - measuring has finished", "values": [ { "name": "disabled" }, { "name": "measured" }, { "name": "measuring" }, { "name": "ready" } ] }, { "name": "unit", "description": "Unit system (imperial, metric) or specific unit used for displaying the area values. Possible values are listed in\n[unitOptions](#unitOptions).", "values": [ { "name": "acres" }, { "name": "ares" }, { "name": "hectares" }, { "name": "imperial" }, { "name": "metric" }, { "name": "square-centimeters" }, { "name": "square-decimeters" }, { "name": "square-feet" }, { "name": "square-inches" }, { "name": "square-kilometers" }, { "name": "square-meters" }, { "name": "square-miles" }, { "name": "square-millimeters" }, { "name": "square-nautical-miles" }, { "name": "square-us-feet" }, { "name": "square-yards" } ] } ], "references": [ { "name": "Docs", "url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-area-measurement-3d/" }, { "name": "Area Measurement 3D", "url": "https://developers.arcgis.com/javascript/latest/storybook/map-components/?path=/story/arcgis-area-measurement-3d--demo&singleStory=true" } ] }, { "name": "arcgis-attachments", "description": "### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.", "attributes": [ { "name": "auto-destroy-disabled", "description": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-attachments/#destroy) method when you are done to\nprevent memory leaks.", "values": [] }, { "name": "display-type", "description": "A string value indicating how to display an attachment.", "values": [ { "name": "auto" }, { "name": "list" }, { "name": "preview" } ] }, { "name": "hide-add-button", "values": [] }, { "name": "hide-add-submit-button", "values": [] }, { "name": "hide-cancel-add-button", "values": [] }, { "name": "hide-cancel-update-button", "values": [] }, { "name": "hide-delete-button", "values": [] }, { "name": "hide-error-message", "values": [] }, { "name": "hide-progress-bar", "values": [] }, { "name": "hide-update-button", "values": [] }, { "name": "icon", "description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).", "values": [] }, { "name": "label", "description": "The widget's label.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Widget.html#label)", "values": [] }, { "name": "position", "values": [ { "name": "bottom-leading" }, { "name": "bottom-left" }, { "name": "bottom-right" }, { "name": "bottom-trailing" }, { "name": "manual" }, { "name": "top-leading" }, { "name": "top-left" }, { "name": "top-right" }, { "name": "top-trailing" } ] }, { "name": "reference-element", "description": "By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.", "values": [] }, { "name": "state", "description": "The current state of the component.", "values": [ { "name": "disabled" }, { "name": "loading" }, { "name": "ready" } ] } ], "references": [ { "name": "Docs", "url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-attachments/" } ] }, { "name": "arcgis-basemap-gallery", "description": "The Basemap Gallery component displays a collection images representing basemaps from [ArcGIS.com](https://www.arcgis.com/index.html) or a user-defined set of map or image services. When a new basemap is selected from the Basemap Gallery, the map's basemap layers are removed and replaced with the basemap layers of the associated basemap selected in the gallery.\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.", "attributes": [ { "name": "active-basemap", "description": "The map's current [basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap).", "values": [] }, { "name": "auto-destroy-disabled", "description": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-gallery/#destroy) method when you are done to\nprevent memory leaks.", "values": [] }, { "name": "disabled", "description": "When `true`, sets the component to a disabled state so the user cannot interact with it.", "values": [] }, { "name": "heading-level", "description": "Indicates the heading level to use for the message \"No basemaps available\"\nwhen no basemaps are available in the Basemap Gallery.", "values": [ { "name": "1" }, { "name": "2" }, { "name": "3" }, { "name": "4" }, { "name": "5" }, { "name": "6" } ] }, { "name": "icon", "description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).", "values": [] }, { "name": "label", "description": "The component's default label.", "values": [] }, { "name": "position", "values": [ { "name": "bottom-leading" }, { "name": "bottom-left" }, { "name": "bottom-right" }, { "name": "bottom-trailing" }, { "name": "manual" }, { "name": "top-leading" }, { "name": "top-left" }, { "name": "top-right" }, { "name": "top-trailing" } ] }, { "name": "reference-element", "description": "By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.", "values": [] }, { "name": "state", "description": "The current state of the component.", "values": [ { "name": "disabled" }, { "name": "loading" }, { "name": "ready" }, { "name": "unsupported" } ] } ], "references": [ { "name": "Docs", "url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-gallery/" }, { "name": "Basemap Gallery", "url": "https://developers.arcgis.com/javascript/latest/storybook/map-components/?path=/story/arcgis-basemap-gallery--demo&singleStory=true" } ] }, { "name": "arcgis-basemap-layer-list", "description": "The Basemap Layer List component provides a way to display a list of [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html) layers and switch on/off their visibility. [Base layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#baseLayers) and [reference layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#referenceLayers) are divided into separate sections. When editing is enabled, layers can be reordered by dragging and dropping between the lists and the title can be edited.\n--\n\n### Events\n- **arcgisClose** - Emitted when the component's close button is clicked.\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.", "attributes": [ { "name": "auto-destroy-disabled", "description": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-layer-list/#destroy) method when you are done to\nprevent memory leaks.", "values": [] }, { "name": "base-filter-text", "description": "The value of the filter input text string if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapLayerList.html#visibleElements) is true.", "values": [] }, { "name": "basemap-title", "description": "The current basemap's title.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapLayerList.html#basemapTitle)", "values": [] }, { "name": "closed", "description": "Indicates whether a component is closed. When `true`, the component will be hidden.", "values": [] }, { "name": "collapsed", "description": "Indicates whether the widget is collapsed.", "values": [] }, { "name": "drag-enabled", "description": "Indicates whether [list items](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-LayerList-ListItem.html) may be reordered within the list by dragging and dropping.", "values": [] }, { "name": "editing-title", "description": "Indicates whether the form to edit the basemap's title is currently visible.", "values": [] }, { "name": "filter-placeholder", "description": "Placeholder text used in the filter input if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapLayerList.html#visibleElements) is true.", "values": [] }, { "name": "heading-level", "description": "Indicates the heading level to use for the widget title (i.e.", "values": [] }, { "name": "hide-base-layers", "values": [] }, { "name": "hide-flow", "values": [] }, { "name": "hide-heading", "values": [] }, { "name": "hide-reference-layers", "values": [] }, { "name": "hide-status-indicators", "values": [] }, { "name": "icon", "description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).", "values": [] }, { "name": "label", "description": "The widget's default label.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapLayerList.html#label)", "values": [] }, { "name": "min-filter-items", "description": "The minimum number of list items required to display the visibleElements.filter input box.", "values": [] }, { "name": "position", "values": [ { "name": "bottom-leading" }, { "name": "bottom-left" }, { "name": "bottom-right" }, { "name": "bottom-trailing" }, { "name": "manual" }, { "name": "top-leading" }, { "name": "top-left" }, { "name": "top-right" }, { "name": "top-trailing" } ] }, { "name": "reference-element", "description": "By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.", "values": [] }, { "name": "reference-filter-text", "description": "The value of the filter input text string if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapLayerList.html#visibleElements) is true.", "values": [] }, { "name": "selection-mode", "description": "Specifies the selection mode.", "values": [ { "name": "multiple" }, { "name": "none" }, { "name": "single" }, { "name": "single-persist" } ] }, { "name": "show-close-button", "values": [] }, { "name": "show-collapse-button", "values": [] }, { "name": "show-edit-title-button", "values": [] }, { "name": "show-errors", "values": [] }, { "name": "show-filter", "values": [] }, { "name": "show-temporary-layer-indicators", "values": [] }, { "name": "state", "description": "The current state of the component.", "values": [ { "name": "disabled" }, { "name": "loading" }, { "name": "ready" } ] }, { "name": "visibility-appearance", "description": "Determines the icons used to indicate visibility.", "values": [ { "name": "checkbox" }, { "name": "default" } ] } ], "references": [ { "name": "Docs", "url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-layer-list/" }, { "name": "Basemap Layer List", "url": "https://developers.arcgis.com/javascript/latest/storybook/map-components/?path=/story/arcgis-basemap-layer-list--demo&singleStory=true" } ] }, { "name": "arcgis-basemap-toggle", "description": "The Basemap Toggle component allows an end-user to switch between two basemaps.\n\nThe basemaps can have different spatial references.\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `toggle(): Promise<any>` - Toggles to the [next basemap](#nextBasemap).", "attributes": [ { "name": "auto-destroy-disabled", "description": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-toggle/#destroy) method when you are done to\nprevent memory leaks.", "values": [] }, { "name": "icon", "description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).", "values": [] }, { "name": "label", "description": "The component's default label.", "values": [] }, { "name": "next-basemap", "description": "The next basemap for toggling.", "values": [] }, { "name": "position", "values": [ { "name": "bottom-leading" }, { "name": "bottom-left" }, { "name": "bottom-right" }, { "name": "bottom-trailing" }, { "name": "manual" }, { "name": "top-leading" }, { "name": "top-left" }, { "name": "top-right" }, { "name": "top-trailing" } ] }, { "name": "reference-element", "description": "By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.", "values": [] }, { "name": "show-title", "description": "Indicates if the Basemap title is displayed.", "values": [] }, { "name": "state", "description": "The current state of the component.", "values": [ { "name": "disabled" }, { "name": "incompatible-next-basemap" }, { "name": "loading" }, { "name": "ready" } ] } ], "references": [ { "name": "Docs", "url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-basemap-toggle/" }, { "name": "Basemap Toggle", "url": "https://developers.arcgis.com/javascript/latest/storybook/map-components/?path=/story/arcgis-basemap-toggle--demo&singleStory=true" } ] }, { "name": "arcgis-bookmarks", "description": "The Bookmarks component allow end users to quickly navigate to a particular area of interest. It displays a list of [bookmarks](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html), which are typically defined inside the [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#bookmarks).\n--\n\n### Events\n- **arcgisClose** - Emitted when the component's close button is clicked.\n- **arcgisEdit**\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisSelect**\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.", "attributes": [ { "name": "auto-destroy-disabled", "description": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-bookmarks/#destroy) method when you are done to\nprevent memory leaks.", "values": [] }, { "name": "closed", "description": "Indicates whether a component is closed. When `true`, the component will be hidden.", "values": [] }, { "name": "disabled", "description": "When true, the widget is visually withdrawn and cannot be interacted with.", "values": [] }, { "name": "drag-enabled", "description": "Indicates if a Bookmark is able to be dragged in order to update its position in the list.", "values": [] }, { "name": "filter-placeholder", "description": "Defines the text used as a placeholder when visibleElements.filter is set to `true`.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks.html#filterPlaceholder)", "values": [] }, { "name": "filter-text", "description": "Defines the text used to filter the bookmarks when visibleElements.filter is set to `true`.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks.html#filterText)", "values": [] }, { "name": "hide-flow", "values": [] }, { "name": "hide-thumbnail", "values": [] }, { "name": "hide-time", "values": [] }, { "name": "icon", "description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).", "values": [] }, { "name": "label", "description": "The widget's default label.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks.html#label)", "values": [] }, { "name": "position", "values": [ { "name": "bottom-leading" }, { "name": "bottom-left" }, { "name": "bottom-right" }, { "name": "bottom-trailing" }, { "name": "manual" }, { "name": "top-leading" }, { "name": "top-left" }, { "name": "top-right" }, { "name": "top-trailing" } ] }, { "name": "reference-element", "description": "By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.", "values": [] }, { "name": "show-add-bookmark-button", "values": [] }, { "name": "show-close-button", "values": [] }, { "name": "show-collapse-button", "values": [] }, { "name": "show-edit-bookmark-button", "values": [] }, { "name": "show-filter", "values": [] }, { "name": "show-heading", "values": [] }, { "name": "state", "description": "The current state of the component.", "values": [ { "name": "loading" }, { "name": "ready" } ] } ], "references": [ { "name": "Docs", "url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-bookmarks/" }, { "name": "Bookmarks", "url": "https://developers.arcgis.com/javascript/latest/storybook/map-components/?path=/story/arcgis-bookmarks--demo&singleStory=true" } ] }, { "name": "arcgis-building-explorer", "description": "The Building Explorer component is used to filter and explore the various components of [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html). BuildingSceneLayers are complex digital models of buildings and interiors and can contain thousands of components grouped in sublayers. Using this component, buildings can be filtered by level, construction phase or by disciplines and categories.\n\n**Known limitations**\n\nBuilding Explorer is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.", "attributes": [ { "name": "auto-destroy-disabled", "description": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-building-explorer/#destroy) method when you are done to\nprevent memory leaks.", "values": [] }, { "name": "heading-level", "description": "Indicates the heading level to use for the component title.", "values": [] }, { "name": "hide-disciplines", "values": [] }, { "name": "hide-levels", "values": [] }, { "name": "hide-phases", "values": [] }, { "name": "icon", "description": "Icon which represents the component. Typically used when the component is controlled by another component (e.g. by the Expand component).\n\nSee also: [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)", "values": [] }, { "name": "label", "description": "The component's default label.", "values": [] }, { "name": "position", "values": [ { "name": "bottom-leading" }, { "name": "bottom-left" }, { "name": "bottom-right" }, { "name": "bottom-trailing" }, { "name": "manual" }, { "name": "top-leading" }, { "name": "top-left" }, { "name": "top-right" }, { "name": "top-trailing" } ] }, { "name": "reference-element", "description": "By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.", "values": [] }, { "name": "state", "description": "The component's state. The values mean the following:\n\n* `disabled` - \tcomponent is being created\n* `loading` - layers and statistics are loading\n* `ready` - component is ready\n* `failed` - component failed to load data", "values": [ { "name": "disabled" }, { "name": "failed" }, { "name": "loading" }, { "name": "ready" } ] } ], "references": [ { "name": "Docs", "url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-building-explorer/" }, { "name": "Building Explorer", "url": "https://developers.arcgis.com/javascript/latest/storybook/map-components/?path=/story/arcgis-building-explorer--demo&singleStory=true" } ] }, { "name": "arcgis-catalog-layer-list", "description": "The Catalog Layer List component provides a way to display and interact with CatalogLayers.\n--\n\n### Events\n- **arcgisClose** - Emitted when the component's close button is clicked.\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n- **arcgisTriggerAction** - Emitted when an action is triggered on the component.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.", "attributes": [ { "name": "auto-destroy-disabled", "description": "If true, the component will not be destroyed automatically when it is\ndisconnected from the document. This is useful when you want to move the\ncomponent to a different place on the page, or temporarily hide it. If this\nis set, make sure to call the [destroy](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-catalog-layer-list/#destroy) method when you are done to\nprevent memory leaks.", "values": [] }, { "name": "closed", "description": "Indicates whether a component is closed. When `true`, the component will be hidden.", "values": [] }, { "name": "collapsed", "description": "Indicates whether the widget is collapsed.", "values": [] }, { "name": "filter-placeholder", "description": "Placeholder text used in the filter input if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList.html#visibleElements) is true.", "values": [] }, { "name": "filter-text", "description": "The value of the filter input if [visibleElements.filter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList.html#visibleElements) is true.", "values": [] }, { "name": "heading-level", "description": "Indicates the heading level to use for the heading of the widget.", "values": [] }, { "name": "hide-flow", "values": [] }, { "name": "hide-status-indicators", "values": [] }, { "name": "icon", "description": "Icon which represents the component.\nTypically used when the component is controlled by another component (e.g. by the Expand component).", "values": [] }, { "name": "label", "description": "The widget's default label.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList.html#label)", "values": [] }, { "name": "min-filter-items", "description": "The minimum number of list items required to display the visibleElements.filter input box.", "values": [] }, { "name": "position", "values": [ { "name": "bottom-leading" }, { "name": "bottom-left" }, { "name": "bottom-right" }, { "name": "bottom-trailing" }, { "name": "manual" }, { "name": "top-leading" }, { "name": "top-left" }, { "name": "top-right" }, { "name": "top-trailing" } ] }, { "name": "reference-element", "description": "By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.", "values": [] }, { "name": "selection-mode", "description": "Specifies the selection mode.", "values": [ { "name": "multiple" }, { "name": "none" }, { "name": "single" }, { "name": "single-persist" } ] }, { "name": "show-close-button", "values": [] }, { "name": "show-collapse-button", "values": [] }, { "name": "show-errors", "values": [] }, { "name": "show-filter", "values": [] }, { "name": "show-heading", "values": [] }, { "name": "show-temporary-layer-indicators", "values": [] }, { "name": "state", "description": "The current state of the component.", "values": [ { "name": "disabled" }, { "name": "loading" }, { "name": "ready" } ] }, { "name": "visibility-appearance", "description": "Determines the icons used to indicate visibility.", "values": [ { "name": "checkbox" }, { "name": "default" } ] } ], "references": [ { "name": "Docs", "url": "https://developers.arcgis.com/javascript/latest/r