Skip to Content
APIShapesVariable: POLYGON_DEFAULTS

Variable: POLYGON_DEFAULTS

const POLYGON_DEFAULTS: object

Default styling applied to a polygon when the corresponding PolygonConfig fields are omitted. Matches the circle defaults, so a polygon geofence and a circle geofence look alike.

Type Declaration

fillColor

readonly fillColor: "#276EF1" = MAPVX_BRAND_COLOR;

fillOpacity

readonly fillOpacity: 0.14 = 0.14;

renderOrder

readonly renderOrder: CircleRenderOrder;

strokeColor

readonly strokeColor: "#276EF1" = MAPVX_BRAND_COLOR;

strokeOpacity

readonly strokeOpacity: 0.65 = 0.65;

strokeWidth

readonly strokeWidth: 2 = 2;
Last updated on