Skip to content
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

Add definition for unsupportedProperties #94

Merged
merged 1 commit into from
Jan 8, 2019

Conversation

jansule
Copy link
Contributor

@jansule jansule commented Jan 7, 2019

Parsers should be able to communicate which style properties are unsupported. This increases transparency and usability of a parser, as users/developers would be able to see which properties are un-/supported. Automated hiding of unsupported properties in the GUI could be another benefit.

This PR defines a structure for this case. An optional static attribute unsupportedProperties can be added to a Parser. This object imitates the general structure of a rule, where every unsupported property must contain the value 'unsupported'. An object can either be unsupported as a whole (IconSymbolizer: 'unsupported') or one or more properties of an object can be unsupported (IconSymbolizer: { size: 'unsupported' }).

@jansule jansule merged commit 39d72c4 into geostyler:master Jan 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants