Repository navigation
Simplify style property enumeration names - #6589
Conversation
|
@1ec5, thanks for your PR! By analyzing the history of the files in this pull request, we identified @frederoni, @yhahn and @incanus to be potential reviewers. |
|
One consequence of this change is that, going forward, the style specification shouldn’t allow any two layer types to have identically named properties. |
fa12fb5 to
ea80423
Compare
incanus
left a comment
There was a problem hiding this comment.
One consequence of this change is that, going forward, the style specification shouldn’t allow any two layer types to have identically named properties.
Shouldn't be a problem though, given that properties still have a prefix of the layer type (e.g. MGLCircle...?
Theoretically, the style specification could be extended so that the |
Wait, why wouldn't we have This PR has both layer-less properties like |
|
Actually, scratch that—I get it, those properties just happen to refer to the layer type in their name. Never mind. /cc @jfirebaugh on this for some 👀. It's less invasive than what was initially proposed in #6577 (and which I agree with @jfirebaugh on about accepting some redundancy). |
Because the properties are called |
ea80423 to
24c02d5
Compare
The name of each enumeration type no longer refers to the layer type that uses it.
24c02d5 to
3c22b14
Compare
The name and values of each enumeration type no longer refers to the layer type that uses the type. Instead, the specific class and property that uses the type is mentioned in the documentation comment, to be cross-linked in the jazzy-generated documentation.
Fixes #6540, fixes #6577.
/cc @incanus