PointAnnotationManager
import { PointAnnotationManager } from '@rnmapbox/maps';
PointAnnotationManager
Configures a PointAnnotation manager. Each PointAnnotationManager owns its own
annotation layer, so multiple managers can be placed in different slots of the
Mapbox Standard style. Wrap PointAnnotation components as children.
PointAnnotations that are not wrapped in a PointAnnotationManager attach to a
default manager. Use default to configure that manager.
props
id
string
A stable Mapbox layer id for this manager's annotation layer. When omitted, the SDK generates a unique id automatically.
default
boolean
Marks this as the default manager. PointAnnotations that are not wrapped in a PointAnnotationManager attach to the default manager, so this lets you configure the slot and properties used by those bare annotations. Only one default manager is allowed per MapView.
slot
Slot | (string & {})
The slot in the style layer stack to position the annotation layer. Use with Mapbox Standard style to control layer ordering.
iconAllowOverlap
boolean
If true, the icon will be visible even if it collides with other previously drawn symbols.
iconIgnorePlacement
boolean
If true, other symbols can be visible even if they collide with the icon.
iconOptional
boolean
If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.
textAllowOverlap
boolean
If true, the text will be visible even if it collides with other previously drawn symbols.
textIgnorePlacement
boolean
If true, other symbols can be visible even if they collide with the text.
textOptional
boolean
If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.
children
ReactNode
FIX ME NO DESCRIPTION