Skip to main content

Type Alias: RNAdvancedMarkerOptions

type RNAdvancedMarkerOptions = {
collisionBehavior?: RNMarkerCollisionBehavior;
pinConfig?: RNMarkerPinConfig;
};

Advanced Marker configuration.

Requires RNMapOptions.mapId. Has no effect while Advanced Markers are not available. The marker is then rendered as a standard marker with its iconSvg or the default pin.

Properties​

PropertyTypeDefault valueDescription
collisionBehavior?RNMarkerCollisionBehavior'required'Behavior when the marker overlaps another marker or a map label. A change re-creates the marker.
pinConfig?RNMarkerPinConfigCustomizes the default pin. Ignored when RNMarker.iconSvg is set. See RNMarkerPinConfig.