@maplayr/react-native
    Preparing search index...

    Variable MapViewConst

    MapView: ForwardRefExoticComponent<MapViewProps & RefAttributes<MapViewHandle>> = ...

    The main map view component that displays a MapLayr map.

    const mapLoadResult = useMap("your-map-id");
    const mapViewRef = useRef<MapViewHandle>(null);

    if (mapLoadResult.status === "success") {
    return (
    <MapView ref={mapViewRef} style={styles.map} map={mapLoadResult.map}>
    <UserLocationMarker />
    <CoordinateAnnotationLayer>
    <LabeledAnnotationIcon coordinates={...} />
    </CoordinateAnnotationLayer>
    </MapView>
    );
    }