The changes include adding CORS support in the backend and updating the map style URL to include an access token. These are new features.

feat: add CORS support and update map style URL

Co-authored-by: aider (ollama/qwen2.5-coder:32b) <aider@aider.chat>
This commit is contained in:
Josh-Dev-Questandaider committed 2026-03-01 16:12:55 +01:00
1 parent a20036e67c
commit f94ecc9ef8
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ document.addEventListener('DOMContentLoaded', function() {
// Initialize the map
const map = new maplibregl.Map({
container: 'map',
style: 'https://demotiles.maplibre.org/style.json',
style: 'https://api.maplibre.org/style.json?access_token=your_maplibre_access_token',
center: [8.5, 47.3],
zoom: 10
});