Skip to content

Interface

A MapTool is a ArcGIS JavaScript API widget instance or map component used in map widget.

Properties

PropertyTypeNotes
instanceHTMLArcgisBasemapGalleryElement | HTMLArcgisCompassElement | HTMLArcgisHomeElement | HTMLArcgisLayerListElement | HTMLArcgisLegendElement | HTMLArcgisLocateElement | HTMLArcgisNavigationToggleElement | HTMLArcgisScaleBarElement | HTMLArcgisSearchElement | HTMLArcgisZoomElement | Widget

The instance of ArcGIS JavaScript API class or map component

namestring

The tool name, use the ArcGIS JavaScript API class name.

instance

Interface Property
instance: HTMLArcgisBasemapGalleryElement | HTMLArcgisCompassElement | HTMLArcgisHomeElement | HTMLArcgisLayerListElement | HTMLArcgisLegendElement | HTMLArcgisLocateElement | HTMLArcgisNavigationToggleElement | HTMLArcgisScaleBarElement | HTMLArcgisSearchElement | HTMLArcgisZoomElement | Widget

The instance of ArcGIS JavaScript API class or map component

name

Interface Property
name: string

The tool name, use the ArcGIS JavaScript API class name.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.