6a9fe5d26f
Add leaflet-google-mutant@0.16.0 (exact/locked version) as a proper bridge between the Google Maps JavaScript API and Leaflet. The old mt{s}.google.com tile URL approach was unofficial and produced empty tiles. Traffic layer now renders via createLayerComponent + googleMutant, loaded only after the Maps JS API script is injected and ready (keyed off NEXT_PUBLIC_GOOGLE_MAPS_API_KEY). Added leaflet-google-mutant to transpilePackages in next.config.mjs.
31 lines
687 B
JSON
31 lines
687 B
JSON
{
|
|
"name": "drb-frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"next": "^15",
|
|
"react": "^18.3.0",
|
|
"react-dom": "^18.3.0",
|
|
"firebase": "^10.12.0",
|
|
"leaflet": "^1.9.4",
|
|
"leaflet-google-mutant": "0.16.0",
|
|
"react-leaflet": "^4.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.4.0",
|
|
"@types/react": "^18.3.0",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@types/node": "^20.12.0",
|
|
"@types/leaflet": "^1.9.12",
|
|
"tailwindcss": "^3.4.0",
|
|
"postcss": "^8.4.0",
|
|
"autoprefixer": "^10.4.0"
|
|
}
|
|
}
|