From 5b00095bd0d506ad8d9be18306aef38544f36579 Mon Sep 17 00:00:00 2001 From: Thomas Chandelle Date: Wed, 9 Nov 2016 09:42:08 +0100 Subject: [PATCH] Rotate the arrows with the view --- examples/line-arrows.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/line-arrows.js b/examples/line-arrows.js index 5f328a5ae5..423b305811 100644 --- a/examples/line-arrows.js +++ b/examples/line-arrows.js @@ -38,7 +38,7 @@ var styleFunction = function(feature) { image: new ol.style.Icon({ src: 'data/arrow.png', anchor: [0.75, 0.5], - rotateWithView: false, + rotateWithView: true, rotation: -rotation }) }));