Hook to perform the fetch of the MapData and handle loading and error states.
const { mapData, isLoading, error } = useMapData(options); Copy
const { mapData, isLoading, error } = useMapData(options);
Hook to perform the fetch of the MapData and handle loading and error states.