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
Although you handle your style sizes as Pixels, that may not always be the case, for example the following means that the font size is 2 meters, not 2 pixels:
It's technically possible to support non-pixel uom on a symbolizer, but also a lot of work.
The style function recycles OpenLayers style objects with static properties (like a line symbolizer that's always 4px wide). But when you start using meters for instance, all dimension-related symbolizer properties will have to be dynamically modified at each zoom (and possibly pan) of the map.
Furthermore, according to the SLD spec you can override any uom set on the symbolizer by appending 'px' to a property (like '5px'). This means that units of measure can be mixed within a symbolizer, which in turn means that all numeric symbolizer properties relating to dimension should keep track of their own units of measure.
Although you handle your style sizes as Pixels, that may not always be the case, for example the following means that the font size is 2 meters, not 2 pixels:
Also the same with PolygonSymbolizer, LineSymbolizer, etc...
The text was updated successfully, but these errors were encountered: