Skip to content
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

Test adding contour lines #1

Draft
wants to merge 27 commits into
base: terrain-and-elevation
Choose a base branch
from

Conversation

acalcutt
Copy link

@acalcutt acalcutt commented Dec 22, 2024

This is a test I did of adding contour lines on top of your recent PR. is is nowhere near complete, but I wanted to see if you had any opinions on it.

This uses you elevation endpoint as an example and makes one for contour lines
'^/:id/contour/:z([0-9]+)/:x([-.0-9]+)/:y([-.0-9]+)',

The contour endpoint generates vector tiles using a new feature of maplibre contour which allows you to overwrite the fetch tiles and decode image functions onthegomap/maplibre-contour#359 . I have made functions to work with that feature

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant