API REFERENCE

VisualMapTargetElement

The VisualMapTargetElement type declaration and related types. Optional fields are marked with ?.

Type declaration

typescript
export interface VisualMapTargetElement extends HTMLElement {
  setVisualMap?: (binding: VisualMapBinding | null) => Promise<VisualMapBinding | null>;
  getVisualMap?: () => Promise<VisualMapBinding | null>;
  getVisualExtent?: (request?: VisualMapExtentRequest) => Promise<VisualMapExtent | null>;
}