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:
polygon—MultilayerPolygonSymbol([SolidFillSymbolLayer, SolidStrokeSymbolLayer?]);fillColoris the fill,outlineColor/outlineWidthadd an optional stroke.polyline—MultilayerPolylineSymbol([SolidStrokeSymbolLayer]);fillColoris used as the stroke color (falls back tooutlineColor, then red),outlineWidthsets the stroke width.multipoint—MultilayerPointSymbol([SolidFillSymbolLayer, SolidStrokeSymbolLayer?]); same color/width props aspolygon.
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]).
Example
Section titled “Example”— 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 },] }Properties
Section titled “Properties”fillColor?
Section titled “fillColor?”
optionalfillColor?:string
Defined in: src/ExpoArcgis.types.ts:2117
Fill color as a #RRGGBB / #RRGGBBAA hex string. Defaults to red.
geometry
Section titled “geometry”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]).
outlineColor?
Section titled “outlineColor?”
optionaloutlineColor?:string
Defined in: src/ExpoArcgis.types.ts:2119
Outline stroke color as a #RRGGBB / #RRGGBBAA hex string. Omit to suppress outline.
outlineWidth?
Section titled “outlineWidth?”
optionaloutlineWidth?:number
Defined in: src/ExpoArcgis.types.ts:2121
Outline stroke width in points. Defaults to 1.
optionalsize?: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