-
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Introduction
OpenLayers provides a "flat style" format, see API doc here.
Support for this format brings multiple advantages:
- flat styles are a requirement for WebGL layers (these layers do not support style functions)
- flat styles are serializable to JSON and do not rely on symbols exported by the OpenLayers package
Using flat styles is now the recommended way to implement symbology in OpenLayers, even though they do not offer as much flexibility as the regular class-based styles and style functions.
Please note that flat styles rely heavily on expressions, see API doc here. Expressions in OpenLAyers are largely inspired by MapLibre expressions format.
Roadmap
- Create a new
OlFlatStyleParserclass - Expose this class through a new entrypoint in the
package.json(this allows tree-shaking) - Implement GeoStyler => OL flat style conversion
- Implement GeoStyler expressions => OL expressions
- Implement OL flat style => GeoStyler conversion
- Implement OL expressions => GeoStyler expressions
jansule, digoburigo, rodrigoburigool, rodrigo-burigo and jmacura
Metadata
Metadata
Assignees
Labels
No labels