Skip to content

VectorMarkerSymbolLayerSpec

VectorMarkerSymbolLayerSpec = object

Defined in: src/ExpoArcgis.types.ts:2105

One vector-marker symbol layer within a MultilayerPointSymbolType. Mirrors the native VectorMarkerSymbolLayer (a shape drawn from a geometry with fill/stroke, requiring no image).

Supported geometry types and how they are symbolised:

  • polygonMultilayerPolygonSymbol([SolidFillSymbolLayer, SolidStrokeSymbolLayer?]); fillColor is the fill, outlineColor/outlineWidth add an optional stroke.
  • polylineMultilayerPolylineSymbol([SolidStrokeSymbolLayer]); fillColor is used as the stroke color (falls back to outlineColor, then red), outlineWidth sets the stroke width.
  • multipointMultilayerPointSymbol([SolidFillSymbolLayer, SolidStrokeSymbolLayer?]); same color/width props as polygon.

Any other geometry type is silently skipped (the layer is omitted from the symbol). Geometries use a local coordinate space (not geographic) — use small integer-scale coordinates (e.g. x / y in the range [-1, 1]).

— filled triangle (polygon)

{ type: 'multilayer-point', symbolLayers: [
{ type: 'vector-marker', size: 24,
geometry: { type: 'polygon', points: [
{ x: -1, y: -1 }, { x: 0, y: 1 }, { x: 1, y: -1 },
] },
fillColor: '#e63946', outlineColor: '#1d3557', outlineWidth: 1 },
] }

optional fillColor?: string

Defined in: src/ExpoArcgis.types.ts:2117

Fill color as a #RRGGBB / #RRGGBBAA hex string. Defaults to red.


geometry: Geometry

Defined in: src/ExpoArcgis.types.ts:2113

The geometry that defines the marker shape. Supported types: polygon, polyline, multipoint. Unsupported types are silently skipped. The geometry is defined in a local coordinate space (not geographic) — use small integer-scale coordinates (e.g. x / y in the range [-1, 1]).


optional outlineColor?: string

Defined in: src/ExpoArcgis.types.ts:2119

Outline stroke color as a #RRGGBB / #RRGGBBAA hex string. Omit to suppress outline.


optional outlineWidth?: number

Defined in: src/ExpoArcgis.types.ts:2121

Outline stroke width in points. Defaults to 1.


optional size?: number

Defined in: src/ExpoArcgis.types.ts:2115

Overall size of the marker, in points. Scales the geometry uniformly. Defaults to 12.


type: "vector-marker"

Defined in: src/ExpoArcgis.types.ts:2106