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

tunnels #145

Open
eliboni opened this issue Mar 17, 2024 · 2 comments
Open

tunnels #145

eliboni opened this issue Mar 17, 2024 · 2 comments

Comments

@eliboni
Copy link

eliboni commented Mar 17, 2024

Hi, in https://github.com/protomaps/protomaps-leaflet/tree/main/src/default_style/themes.ts I see several entries for tunnels, line tunnel_medium: "#d5d5d5", however in the out-of-the-box PMTiles I can't seem to find an attributes (kind / kind_detail / etc) that allows to identify a way is a tunnel.

Is this a leftover from 1.24 to 2.0 or is there a way to understand if a road is a tunnel? I'd like if it were possible to render tunnels since in some cases (like motorbike, bicycle) users tend to avoid these if possible.

Thanks!

@bdon
Copy link
Member

bdon commented Mar 18, 2024

Yes, it's a leftover, I simply haven't had time to adapt the logic to handle those since it needs to be slightly different from MapLibre.

@eliboni
Copy link
Author

eliboni commented Mar 19, 2024

ok - great, from your answer it seems that soon or later the logic will be able handle this as well. thanks

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

No branches or pull requests

2 participants