Add rotateWithView option to ol.style.RegularShape
This commit is contained in:
1 parent
7d168cb6e2
commit
aec4e468e3
3 files changed
+24
-1
No files matched your search
@@ -4,6 +4,14 @@ describe('ol.style.RegularShape', function() {
|
||||
|
||||
describe('#constructor', function() {
|
||||
|
||||
it('can use rotateWithView', function() {
|
||||
var style = new ol.style.RegularShape({
|
||||
rotateWithView: true,
|
||||
radius: 0
|
||||
});
|
||||
expect(style.getRotateWithView()).to.be(true);
|
||||
});
|
||||
|
||||
it('can use radius', function() {
|
||||
var style = new ol.style.RegularShape({
|
||||
radius: 5,
|
||||
|
||||
Reference in new issue
Block a user