ol-mapbox-style icon indicating copy to clipboard operation
ol-mapbox-style copied to clipboard

Use the new keepUpright parameter in OpenLayers

Open leyan opened this issue 4 months ago • 0 comments

Until now, the text-keep-upright parameter in the Mapbox Style specification was ignored, as OpenLayers was automatically keeping the labels upright and did not expose an option to control it. Now that the keepUpright parameter is available on ol/style/Text, this PR uses it to cover text-keep-upright.

This is a follow-up to #1206 now that the cleaner solution is available.

leyan avatar Oct 20 '24 21:10 leyan