Timeline for How to resize a feature and prevent it from scaling when zooming in OpenLayers 3
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 22, 2015 at 14:22 | history | bounty ended | Jeff Noel | ||
Jan 20, 2015 at 15:20 | comment | added | Jeff Noel |
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).
|
|
Jan 20, 2015 at 14:31 | vote | accept | Jeff Noel | ||
Jan 19, 2015 at 20:27 | history | answered | erilem | CC BY-SA 3.0 |