maplibre / maputnik

An open source visual editor for the 'MapLibre Style Specification'

Home Page:https://www.maplibre.org/maputnik

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Despite Inspect showing different road types, treated identical in style editor

jeremy-taylor opened this issue · comments

Maputnik version: v1.7.0, master
Browser: Chrome
OS: Windows 10 Home

Description of the bug:
Lines that are designated as driveways (access roads for residential properties, for instance) always want to style the same way as minor roads - in the style editor they BOTH show up as highway-minor. However "Inspect" shows that these have different underlying types (class: service, service: driveway VS class: minor

Why are these service/driveway lines being interpreted as highway-minor layer elements?

Steps to reproduce the behavior:
1.https://maputnik.github.io/editor/#17.41/-41.112915/173.016428
2. Observe un-named streets styled as minor roads - these are driveway accesses, not roads
3. Attempt to restyle these un-named streets with a simpler/smaller line > All the surrounding roads (with names) also change style

Style file or style URL:
https://maps.geoapify.com/v1/styles/osm-bright-grey/style.json?apiKey=YOUR_API_KEY

Screenshots:
MaputnikRoadTypeProblem