One of the SDK's pins: recoloured, or replaced by an image of your own.
Places draw their default pin from one, and route waypoints one per role (start, stop, finish).
const recoloured: PinIconConfig = { style: { fillColor: '#2FAA4E', outlineColor: '#FFFFFF' } };const replaced: PinIconConfig = { image: { image: '/icons/flag.svg', pixelRatio: 2 } }; Copy
const recoloured: PinIconConfig = { style: { fillColor: '#2FAA4E', outlineColor: '#FFFFFF' } };const replaced: PinIconConfig = { image: { image: '/icons/flag.svg', pixelRatio: 2 } };
Optional
An image drawn in place of the SDK's pin. Neither style nor the image's own offsetX, offsetY and availabilityLevel apply to it.
style
offsetX
offsetY
availabilityLevel
Colours of the SDK's pin. A fillColor left out takes the module's colour.
fillColor
One of the SDK's pins: recoloured, or replaced by an image of your own.
Remarks
Places draw their default pin from one, and route waypoints one per role (start, stop, finish).
Example