-
Notifications
You must be signed in to change notification settings - Fork 653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Add contour line endpoint for terrain #1458
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: Andrew Calcutt <[email protected]>
Co-authored-by: Andrew Calcutt <[email protected]>
This reverts commit 0619a98.
Co-Authored-By: Andrew Calcutt <[email protected]>
Co-Authored-By: Andrew Calcutt <[email protected]>
@@ -0,0 +1,65 @@ | |||
class MaplibreContourControl { |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
$zxy.z, | ||
$zxy.x, | ||
$zxy.y, | ||
abortController, |
Check warning
Code scanning / CodeQL
Superfluous trailing arguments Warning
function getPMtilesTile
}, | ||
"contour": { | ||
"type": "vector", | ||
"tiles": [ baseUrl + "/data/{{id}}/contour/{z}/{x}/{y}" ], |
There was a problem hiding this comment.
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.
Adds a maplibre-contour based endpoint, that dynamically creates contour lines that could would with either maplibre-gl-js or native