refactor offset to displacement
This commit is contained in:
committed by
Andreas Hocevar
parent
4c7f52c8a4
commit
78378f0253
@@ -23,7 +23,7 @@ function createFeatures(stroke, fill, offSet = [0, 0]) {
|
||||
points: 4,
|
||||
radius: 10,
|
||||
angle: Math.PI / 4,
|
||||
offset: [-15, 15]
|
||||
displacement: [-15, 15]
|
||||
})
|
||||
}));
|
||||
vectorSource.addFeature(feature);
|
||||
|
||||
Reference in New Issue
Block a user