This commit is contained in:
Sacha Weatherstone
2023-09-17 14:28:09 +10:00
parent 1c109d631b
commit efbcb120af
3 changed files with 508 additions and 372 deletions
+2 -3
View File
@@ -15,8 +15,8 @@ import {
ZoomOutIcon,
} from "lucide-react";
import { useCallback, useEffect, useState } from "react";
import { Layer, Map as MapGL, Marker, Source, useMap } from "react-map-gl";
import maplibre from "react-map-gl/maplibre";
import { Layer, Map as Marker, Source, useMap } from "react-map-gl";
import MapGL from "react-map-gl/maplibre";
export const MapPage = (): JSX.Element => {
const { nodes, waypoints } = useDevice();
@@ -119,7 +119,6 @@ export const MapPage = (): JSX.Element => {
// }}
// @ts-ignore
mapLib={maplibre}
attributionControl={false}
renderWorldCopies={false}
maxPitch={0}