Skip to main content
Jeff Noel's user avatar
Jeff Noel's user avatar
Jeff Noel's user avatar
Jeff Noel
  • Member for 9 years, 11 months
  • Last seen more than 2 years ago
awarded
awarded
awarded
awarded
awarded
awarded
awarded
awarded
comment
How to resize a feature and prevent it from scaling when zooming in OpenLayers 3
I finally got it to work, thanks to you. I've adapted your code a little bit: The source needs to include the feature itself: source: new ol.source.Vector({features:[iconFeature]}), otherwise nothing is inserted within the layer (for some reason, probably related to the geometry element of the feature).
Loading…
awarded
Loading…
revised
How to get an existing feature's rotation angle in OpenLayers 3
The user forgot to include the previous variable in his variable declaration of _imagestyle. Simply fixed his minor mistake, which is probably due to a small lack of attention.
Loading…
Loading…
awarded
awarded
comment
How to get an existing feature's rotation angle in OpenLayers 3
You're right, I was only browsing the stable version of the API. I've concatenated your code in your simple line: YourFeatureVariable.getStyle().getImage().getRotation()