Skip to content

Conversation

@acalcutt
Copy link
Collaborator

@acalcutt acalcutt commented Feb 5, 2025

Adds a maplibre-contour based endpoint, that dynamically creates contour lines that could would with either maplibre-gl-js or native

@@ -0,0 +1,65 @@
class MaplibreContourControl {

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused class MaplibreContourControl.
@acalcutt acalcutt changed the title WIP: Add contour line endpoit for terrain WIP: Add contour line endpoint for terrain Feb 5, 2025
},
"contour": {
"type": "vector",
"tiles": [ baseUrl + "/data/{{id}}/contour/{z}/{x}/{y}" ],
Copy link
Collaborator Author

@acalcutt acalcutt Feb 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing I would like to do is make a json endpoint for the contour lines, so this does not need baseurl

I tried to use {{public_url}} here also, but "tiles" doesn't like the relative link it seemed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants