Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PolygonMapElement

A polygon map element.

Hierarchy

Index

Constructors

Properties

Accessors

Constructors

constructor

Properties

data

data: any

Model data this element represents.

memberof

MapElement

geometry

geometry: Geometry

GeoJSON geometry represented by the element.

memberof

MapElement

id

id: string

The element identifier.

memberof

MapElement

renderable

renderable: any

Native map object that gets added to a map view based on the current strategy.

memberof

MapElement

style

style: ShapeStyle

Style configuration for the element.

memberof

MapElement

Accessors

adjustOpacity

  • get adjustOpacity(): boolean
  • A Boolean value indicating whether the element should adjust its opacity when the parent data source's opacity changes. Default value is true.

    readonly
    memberof

    MapElement

    Returns boolean

bounds

  • Returns the coordinate bounds that contains the element's geometry.

    readonly
    memberof

    MapElement

    Returns CoordinateBounds

Generated using TypeDoc