This repository has been archived by the owner on Apr 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Drop prefixes in property names #218
Labels
Comments
Given that we need the prefix for symbol properties, and we might want to use them for a combination stroked and filled "polygon" type layer as well, I think we should keep them universal. |
Keeping these for now. |
Dropping the redundant prefixes would be highly desirable for the iOS and macOS SDKs, where property names are expected to be grammatical: mapbox/mapbox-gl-native#6577 (comment). As of mapbox/mapbox-gl-native#7457, we have to twist the English language in weird ways to ensure that Boolean property names in particular use the right parts of speech. |
6 tasks
This issue was moved to mapbox/mapbox-gl-js#4083 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 samesymbol
layer.The text was updated successfully, but these errors were encountered: