-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Drop prefixes in property names #4083
Copy link
Copy link
Closed
Labels
breaking change ⚠️Requires a backwards-incompatible change to the APIRequires a backwards-incompatible change to the APIcross-platform 📺Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.)Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.)
Metadata
Metadata
Assignees
Labels
breaking change ⚠️Requires a backwards-incompatible change to the APIRequires a backwards-incompatible change to the APIcross-platform 📺Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.)Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.)
From @peterqliu on November 17, 2014 21:9
Namely,
fill-,line-,raster-,background-These prefixes automatically take after the layer's
type, and as long as they live on separate layers, are redundant. The other prefixesicon-andtext-are necessary, since they can cohabit the samesymbollayer.Copied from original issue: mapbox/mapbox-gl-style-spec#218