geostyler / geostyler-style

Style declaration files for the GeoStyler project
https://geostyler.github.io/geostyler-style/docs/master/
BSD 2-Clause "Simplified" License
16 stars 15 forks source link

Asymetric `MarkSymbolizer` #619

Open KaiVolland opened 4 months ago

KaiVolland commented 4 months ago

Currently the size of a MarkSymbolizer is described by a single value: radius

To allow asymetric symbolizers (eg. rectangle instead of square) the radius property could be replaced with: size which would be typed as [Expression<number>, Expression<number>] or we could add this type to the radius so it would look like this:

radius?: Expression<number> | [Expression<number>, Expression<number>]