Implement rotation for ol.style.RegularShape

This commit is contained in:
Bart van den Eijnden
2014-12-12 15:19:31 +01:00
parent 2c9fab22c8
commit 38dca7792c
3 changed files with 12 additions and 2 deletions

View File

@@ -31,6 +31,7 @@ var styles = {
stroke: stroke,
points: 3,
radius: 10,
rotation: Math.PI / 4,
angle: 0
}))
})],