-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename circle-pitch-scale to circle-pitch-scaling #4165
Comments
From @1ec5 on January 5, 2017 10:37 An alternative to |
I don't agree with this proposal.
|
Sorry, I picked a poor example there. Here’s a revised table:
I had picked
Perhaps It just feels weird to me that the existing property implies a numeric “scale” value but is set to an enum, whereas related enum-typed properties are “alignments” instead of “scales”. |
I don't think of the scaling behavior as an "alignment", so including that word in the property seems odd. How about |
That could work. (Though I’d still hold out some hope for |
One other wrinkle from working on text-pitch-scaling is that we're considering making the property a continuous variable over I like /cc @nickidlugash |
In the latest version of that PR, we are hardwiring the value, thus avoiding the naming problem entirely (at least for text/icons) |
Closing here; see #6584. |
From @1ec5 on January 5, 2017 10:35
circle-pitch-scale
should be renamedcircle-scale-alignment
.mapbox/mapbox-gl-style-spec#459 (comment) proposed
{circle,icon,text}-pitch-scale
properties as complements to the{circle,icon,text}-{rotation,pitch}-alignment
properties. As discussed in mapbox/mapbox-gl-native#6098, thecircle-pitch-scale
name incorrectly implies a numeric value. It’s also inconsistent with the rest of the properties:circle-rotation-alignment
circle-pitch-alignment
circle-pitch-scale
Renaming
circle-pitch-scale
tocircle-scale-alignment
would make the property’s type more obvious and better harmonize the name with the others:circle-scale-alignment
/cc @jfirebaugh @lucaswoj
Copied from original issue: mapbox/mapbox-gl-style-spec#645
The text was updated successfully, but these errors were encountered: