Amélioration carte, séparation Web/Android + géolocalisation

This commit is contained in:
2024-12-02 20:11:31 +01:00
parent 49fcb6edbc
commit 82b73ddadf
8 changed files with 181 additions and 49 deletions

View File

@@ -12,6 +12,7 @@
"@maplibre/maplibre-react-native": "^10.0.0-alpha.28",
"@react-navigation/bottom-tabs": "^7.0.0",
"@react-navigation/native": "^7.0.0",
"@turf/circle": "^7.1.0",
"expo": "~52.0.11",
"expo-blur": "~14.0.1",
"expo-constants": "~17.0.3",
@@ -19,6 +20,7 @@
"expo-font": "~13.0.1",
"expo-haptics": "~14.0.0",
"expo-linking": "~7.0.3",
"expo-location": "^18.0.2",
"expo-router": "~4.0.9",
"expo-splash-screen": "~0.29.13",
"expo-status-bar": "~2.0.0",
@@ -26,6 +28,7 @@
"expo-system-ui": "~4.0.4",
"expo-web-browser": "~14.0.1",
"maplibre-gl": "^4.7.1",
"maplibre-react-components": "^0.1.9",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-map-gl": "^7.1.7",
@@ -4422,6 +4425,21 @@
"url": "https://opencollective.com/turf"
}
},
"node_modules/@turf/circle": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/@turf/circle/-/circle-7.1.0.tgz",
"integrity": "sha512-6qhF1drjwH0Dg3ZB9om1JkWTJfAqBcbtIrAj5UPlrAeHP87hGoCO2ZEsFEAL9Q18vntpivT89Uho/nqQUjJhYw==",
"license": "MIT",
"dependencies": {
"@turf/destination": "^7.1.0",
"@turf/helpers": "^7.1.0",
"@types/geojson": "^7946.0.10",
"tslib": "^2.6.2"
},
"funding": {
"url": "https://opencollective.com/turf"
}
},
"node_modules/@turf/destination": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/@turf/destination/-/destination-7.1.0.tgz",
@@ -6281,6 +6299,15 @@
"node": ">=6"
}
},
"node_modules/clsx": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
"integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
"license": "MIT",
"engines": {
"node": ">=6"
}
},
"node_modules/co": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
@@ -7618,6 +7645,15 @@
"react-native": "*"
}
},
"node_modules/expo-location": {
"version": "18.0.2",
"resolved": "https://registry.npmjs.org/expo-location/-/expo-location-18.0.2.tgz",
"integrity": "sha512-45wPrQCv5UQM/RZcOJIei8za0lSyEm5wlb3izLa9P45bqlu3ChRZhYfZz+gMQhVb/oorVqzIVUQhKRTTz7GOXQ==",
"license": "MIT",
"peerDependencies": {
"expo": "*"
}
},
"node_modules/expo-manifests": {
"version": "0.15.4",
"resolved": "https://registry.npmjs.org/expo-manifests/-/expo-manifests-0.15.4.tgz",
@@ -10960,6 +10996,25 @@
"url": "https://github.com/maplibre/maplibre-gl-js?sponsor=1"
}
},
"node_modules/maplibre-react-components": {
"version": "0.1.9",
"resolved": "https://registry.npmjs.org/maplibre-react-components/-/maplibre-react-components-0.1.9.tgz",
"integrity": "sha512-UjKZBi/qdKKQ1UejWoSVMedaU3T8D/FHxIj/WSjKbxrqhe1wWk4Mo79xT9yM6N/l1HXyPlf0RXeHbwLv5edh3g==",
"license": "MIT",
"dependencies": {
"clsx": "^2.1.1"
},
"peerDependencies": {
"maplibre-gl": "^3.0.0 || ^4.0.0",
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"maplibre-gl": {
"optional": false
}
}
},
"node_modules/marky": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/marky/-/marky-1.2.5.tgz",