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:
2 files changed
+6
-1
No files matched your search
+1
-1
@@ -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
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user