-
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
Can we move properties from the bucket declaration into the style declaration? #301
Comments
@nickidlugash you could create two buckets in that scenario. I think it makes sense to move fontSize because it would be nice to allow for zoom-aware transitions for labels. Are there cases where you need transitions for cap, join, etc? |
In general, the bucket properties affect how the data is processed and represented when it is first loaded and the style properties are things we can change without affecting the underlying representation of the data. By Line cap and join properties affect how we need to process the data, so you would need to create two different buckets. |
|
Synthetic clicks
The prior validate.array does the necessary type checking. Fixes #301
@edenh's comment from #300
Is it possible to move other properties as well? E.g. "cap" and "join" for lines? That way, we can use the same bucket for roads and road casings, but specify different cap and joins in the style. Would this be more efficient, or would it be more efficient to just create two buckets (one for roads and one for road casings)?
The text was updated successfully, but these errors were encountered: