-
Notifications
You must be signed in to change notification settings - Fork 14
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
Use CSS defaults for symbolizers #28
Comments
Right now the idea of a 'key' property is baked into the CSS compiler - every type of symbolizer has a single property that triggers it - if there's no 'stroke' property then there are no line symbolizers, etc. This ties in pretty tightly with how multi-pass effects are encoded. Are you proposing that I change the key property for line symbolizers, or that we change the system for encoding multiple symbolizers? If the latter, I'd like to hear a little more about the scheme you think should be used. |
Isn't it possible to have it trigger when any of the properties in the symbolizer are used? |
Right now colors and sizes default to null, however SLD provides reasonable defaults, e.g., when setting a stroke width to 2 it would make sense to see a black line, not an empty map because the color has not been assigned.
Each symbolizer has basic, meaningful defaults in SLD, CSS should use those.
The text was updated successfully, but these errors were encountered: