I am trying to make some kind of line-drawing editor over OpenStreet map using OpenLayers. I am able to draw points, connect them into lines, and it all looks good, but if I unzoom, stroke width is the same as on previous zoom (instead of being smaller). And if I unzoom al the way up to 0, line width (stroke) is still the same.
Now, I made this work the way I want it using context on Style, but I don't like the way it works...
Is there some kind of setting to make all lines scalable when I am changing zoom (adapt stroke width based on current zoom level)?
Can I set stroke width in meters or millimeters?