@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
30 lines (28 loc) • 1.5 kB
TypeScript
import type { JSONSupport } from "../../core/JSONSupport.js";
export interface Callout3DProperties {}
/**
* When symbols have an offset from their position, it's important to still see what the real location is.
* This can be achieved with callouts:
*
* 
*
* Callouts are graphics that help users understand where a label or a symbol (usually a point) is located
* on the map, when the symbols have an offset from their initial position.
*
* Callout3D is the base class for classes that add a callout visualization when a
* [PointSymbol3D](https://developers.arcgis.com/javascript/latest/references/core/symbols/PointSymbol3D/) or a
* [LabelSymbol3D](https://developers.arcgis.com/javascript/latest/references/core/symbols/LabelSymbol3D/) has an offset (for example a [PointSymbol3D.verticalOffset](https://developers.arcgis.com/javascript/latest/references/core/symbols/PointSymbol3D/#verticalOffset)).
* Currently only callouts of type `line` are supported. See [LineCallout3D](https://developers.arcgis.com/javascript/latest/references/core/symbols/callouts/LineCallout3D/).
*
* @since 4.4
*/
export default class Callout3D extends JSONSupport {
constructor(properties?: Callout3DProperties);
/**
* Creates a deep clone of the callout.
*
* @returns A deep clone of the object that
* invoked this method.
*/
clone(): Callout3D;
}