You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.
An alternative to the current separation between layers and styles is to define the style inline, which might be a little easier to understand. The current separation is more readable for ordering, so maybe this can be an alternative syntax that builds the style classes.
I'm thinking something like this, where the two classes are 'default' and 'night':
Adding or removing a class in this case would be hell. :) And a lot more verbose in case of big styles like OSM Bright as you would specify default for every bucket. And of course we loose the clarity of structure. I think separation is better.
Opening this as a separate ticket as mapbox/mapbox-gl-js#356 is getting long.
An alternative to the current separation between
layers
andstyles
is to define the style inline, which might be a little easier to understand. The current separation is more readable for ordering, so maybe this can be an alternative syntax that builds the style classes.I'm thinking something like this, where the two classes are 'default' and 'night':
cc @ansis @mourner @tmcw
The text was updated successfully, but these errors were encountered: