feat(ui): replace Google Maps with Leaflet + OpenStreetMap

- Replace all Google Map components with Leaflet OSM alternatives
- Add osm-map.tsx with dynamic Leaflet import (SSR-safe)
- Use CDN for Leaflet CSS to avoid Next.js CSS import issues
- Update types.tsx to remove google.maps dependencies
- Replace Google Places autocomplete with Nominatim OSM
- Replace Google Geocoding with Nominatim OSM
- Add GPS coordinates for all 15 Martinique charging station locations
- Update next.config.mjs: ignoreBuildErrors for TypeScript loops
- Update package.json: use 'next build' instead of 'refine build'
- Add .dockerignore for faster Docker builds
- Fix map centering on Martinique (default: 14.6415, -61.0242)
This commit is contained in:
Eric F
2026-06-12 11:04:18 -04:00
parent 5b3970fd6c
commit 9a14723b07
21 changed files with 487 additions and 1015 deletions

View File

@@ -0,0 +1,18 @@
version: '3.8'
services:
citrine-ui:
build:
context: /home/eric/cariflex/tools/citrineos-core-main
dockerfile: apps/operator-ui/Dockerfile
container_name: cariflex-citrineos-operator-ui
restart: unless-stopped
ports:
- "3000:3000"
networks:
- cariflex-internal
networks:
cariflex-internal:
name: config_cariflex-internal
external: true