Use PointAnnotation for single geographical points
mainThe PointAnnotation component represents a one-dimensional shape located at a single geographical coordinate.
Performance and Usage Notes:
- For many points: If you need to display many points with static images, use
ShapeSourceandSymbolLayerinstead for significantly better performance. - For interactive views: If you need interactive React Native views as markers, use
MarkerView.PointAnnotationrenders its children onto a bitmap, which means standard React Native interactions may not work as expected. - Animations: Avoid using animations like
fadeDurationon childImagecomponents, as the bitmap might be rendered in an intermediate animation state.