protomaps-leaflet icon indicating copy to clipboard operation
protomaps-leaflet copied to clipboard

tunnels

Open eliboni opened this issue 1 year ago • 2 comments

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!

eliboni avatar Mar 17 '24 21:03 eliboni

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.

bdon avatar Mar 18 '24 10:03 bdon

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

eliboni avatar Mar 19 '24 22:03 eliboni