From d4be759dabb3b904710467ab11106e8ca62d851a Mon Sep 17 00:00:00 2001 From: Noah Spannbauer Date: Sat, 22 Mar 2025 23:32:09 -0500 Subject: [PATCH] adding tracks swiper --- app/package.json | 1 - .../components/logTrackMaps/LogTrackMaps.tsx | 2 +- pnpm-lock.yaml | 18 ------------------ 3 files changed, 1 insertion(+), 20 deletions(-) diff --git a/app/package.json b/app/package.json index 16fa101..034db06 100644 --- a/app/package.json +++ b/app/package.json @@ -33,7 +33,6 @@ "devDependencies": { "@microsoft/microsoft-graph-types": "^2.40.0", "@types/leaflet": "^1.9.16", - "@types/mapbox__mapbox-gl-geocoder": "^5.0.0", "@types/react": "^18.2.66", "@types/react-dom": "^18.2.22", "@vitejs/plugin-react": "^4.2.1", diff --git a/app/src/components/logTrackMaps/LogTrackMaps.tsx b/app/src/components/logTrackMaps/LogTrackMaps.tsx index ea6bbf4..2d1f779 100644 --- a/app/src/components/logTrackMaps/LogTrackMaps.tsx +++ b/app/src/components/logTrackMaps/LogTrackMaps.tsx @@ -8,7 +8,7 @@ import { Swiper, SwiperSlide } from 'swiper/react'; import { Pagination } from 'swiper/modules'; import { MapContainer, TileLayer, GeoJSON } from 'react-leaflet'; import toGeoJSON from '@mapbox/togeojson'; -import rewind from '@mapbox/geojson-rewind'; +import rewind from '@placemarkio/geojson-rewind'; import 'swiper/css'; import 'swiper/css/pagination'; import 'swiper/css'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b8a9795..fa5989b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -212,9 +212,6 @@ importers: '@types/leaflet': specifier: ^1.9.16 version: 1.9.16 - '@types/mapbox__mapbox-gl-geocoder': - specifier: ^5.0.0 - version: 5.0.0 '@types/react': specifier: ^18.2.66 version: 18.3.18 @@ -2295,12 +2292,6 @@ packages: '@types/leaflet@1.9.16': resolution: {integrity: sha512-wzZoyySUxkgMZ0ihJ7IaUIblG8Rdc8AbbZKLneyn+QjYsj5q1QU7TEKYqwTr10BGSzY5LI7tJk9Ifo+mEjdFRw==} - '@types/mapbox-gl@3.4.1': - resolution: {integrity: sha512-NsGKKtgW93B+UaLPti6B7NwlxYlES5DpV5Gzj9F75rK5ALKsqSk15CiEHbOnTr09RGbr6ZYiCdI+59NNNcAImg==} - - '@types/mapbox__mapbox-gl-geocoder@5.0.0': - resolution: {integrity: sha512-eGBWdFiP2QgmwndPyhwK6eBeOfyB8vRscp2C6Acqasx5dH8FvTo/VgXWCrCKFR3zkWek/H4w4/CwmBFOs7OLBA==} - '@types/methods@1.1.4': resolution: {integrity: sha512-ymXWVrDiCxTBE3+RIrrP533E70eA+9qu7zdWoHuOmGujkYtzf4HQF96b8nwHLqhuf4ykX61IGRIB38CC6/sImQ==} @@ -8462,15 +8453,6 @@ snapshots: dependencies: '@types/geojson': 7946.0.16 - '@types/mapbox-gl@3.4.1': - dependencies: - '@types/geojson': 7946.0.16 - - '@types/mapbox__mapbox-gl-geocoder@5.0.0': - dependencies: - '@types/geojson': 7946.0.16 - '@types/mapbox-gl': 3.4.1 - '@types/methods@1.1.4': {} '@types/mime@1.3.5': {}