• MapView component.

    The root component which renders the map and provides context to the hooks and child components.

    Parameters

    Returns Element

    const { mapData } = useMapData({ key: '...', secret: '...', mapId: '...' });
    return (
    <MapView mapData={mapData}>
    <Marker target={...} />
    </MapView>
    )
MMNEPVFCICPMFPCPTTAAATR