Annotations
Comparison of various annotations available in MapLibre React Native:
Feature | SymbolLayer | PointAnnotation | MarkerView | CircleLayer |
---|---|---|---|---|
Can use images | ✓ | |||
RN Views as childern | iOS: static | iOS: interactive android: static | interactive | |
Interactions | click | iOS: full android: click & drag & callout | supports full interactivity in the sense that inside MarkerViews one can place any RN View, which can be interacted with. Not to be misunderstood with drag n drop interactivity. | click |
Control Z-index | ✓ | iOS: always on top, android: n/a | always on top | ✓ |
Clustering | ✓ | ✓ | ||
Style with expressions | ✓ | ✓ | ||
iOS implementation | MLNSymbolStyleLayer | MLNAnnotationView | MLNAnnotationView | MLNCircleStyleLayer |
android implementation | SymbolLayer | annotation.Symbol | annotation.Marker | CircleLayer |