Function useMapData

  • Hook to perform the fetch of the MapData and handle loading and error states.

    Parameters

    Returns { error?: Error; isLoading: boolean; mapData?: MapData }

    const { mapData, isLoading, error } = useMapData(options);
    
MMNEPVFCICPMFPCPTTAAATR