@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
72 lines (70 loc) • 2.06 kB
TypeScript
import type Accessor from "../../core/Accessor.js";
/** @since 5.0 */
export interface CreateToolVisibilityMapProperties extends Partial<Pick<CreateToolVisibilityMap, "circle" | "freehandPolygon" | "freehandPolyline" | "multipoint" | "point" | "polygon" | "polyline" | "rectangle" | "text">> {}
/** @since 5.0 */
export default class CreateToolVisibilityMap extends Accessor {
constructor(properties?: CreateToolVisibilityMapProperties);
/**
* Indicates whether to display the circle sketch tool. Default is `true`.
*
* @default true
* @since 5.0
*/
accessor circle: boolean;
/**
* Indicates whether to display the freehandPolygon tool. Default is `false`.
*
* @default false
* @since 5.0
*/
accessor freehandPolygon: boolean;
/**
* Indicates whether to display the freehandPolyline tool. Default is `false`.
*
* @default false
* @since 5.0
*/
accessor freehandPolyline: boolean;
/**
* Indicates whether to display the multipoint tool. Regardless of setting, multipoint is not available when working with a [SceneView](https://developers.arcgis.com/javascript/latest/references/core/views/SceneView/). Default is `false`.
*
* @default true
* @since 5.0
*/
accessor multipoint: boolean;
/**
* Indicates whether to display the point sketch tool. Default is `true`.
*
* @default true
* @since 5.0
*/
accessor point: boolean;
/**
* Indicates whether to display the polygon sketch tool. Default is `true`.
*
* @default true
* @since 5.0
*/
accessor polygon: boolean;
/**
* Indicates whether to display the polyline sketch tool. Default is `true`.
*
* @default true
* @since 5.0
*/
accessor polyline: boolean;
/**
* Indicates whether to display the rectangle sketch tool. Default is `true`.
*
* @default true
* @since 5.0
*/
accessor rectangle: boolean;
/**
* Indicates whether to display the text sketch tool. Default is `false`.
*
* @default false
* @since 5.0
*/
accessor text: boolean;
}