SimpleStyleProperties
Type Alias: SimpleStyleProperties
SimpleStyleProperties =
object
A subset of simplestyle-spec 1.1.0
relevant to lines and polygons, plus an SDK level extension.
marker-* properties are intentionally omitted — use DomMarkerLayer
for points.
Properties
description?
optionaldescription?:string
Stored on the feature; not rendered.
fill?
optionalfill?:string
Polygon fill colour. Default: the map theme's primary colour.
fill-opacity?
optionalfill-opacity?:number
Polygon fill opacity, 0–1. Default 0.6.
level?
optionallevel?:number
SDK extension (not part of simplestyle): the indoor level this shape belongs to. When set, the shape is shown only on that floor (following WemapMap.setLevel); omit for a shape visible on every floor.
stroke?
optionalstroke?:string
Line / polygon-outline colour. Default: the map theme's primary colour.
stroke-opacity?
optionalstroke-opacity?:number
Line / polygon-outline opacity, 0–1. Default 1.
stroke-width?
optionalstroke-width?:number
Line / polygon-outline width in px. Default 2.
title?
optionaltitle?:string
Stored on the feature; not rendered.