Rename _ol_style_RegularShape_ to RegularShape
This commit is contained in:
@@ -5,7 +5,7 @@ import View from '../../../../src/ol/View.js';
|
||||
import VectorLayer from '../../../../src/ol/layer/Vector.js';
|
||||
import VectorSource from '../../../../src/ol/source/Vector.js';
|
||||
import Fill from '../../../../src/ol/style/Fill.js';
|
||||
import _ol_style_RegularShape_ from '../../../../src/ol/style/RegularShape.js';
|
||||
import RegularShape from '../../../../src/ol/style/RegularShape.js';
|
||||
import Style from '../../../../src/ol/style/Style.js';
|
||||
import Stroke from '../../../../src/ol/style/Stroke.js';
|
||||
|
||||
@@ -47,7 +47,7 @@ describe('ol.rendering.style.RegularShape', function() {
|
||||
});
|
||||
// square
|
||||
feature.setStyle(new Style({
|
||||
image: new _ol_style_RegularShape_({
|
||||
image: new RegularShape({
|
||||
fill: fill,
|
||||
stroke: stroke,
|
||||
points: 4,
|
||||
@@ -62,7 +62,7 @@ describe('ol.rendering.style.RegularShape', function() {
|
||||
});
|
||||
// triangle
|
||||
feature.setStyle(new Style({
|
||||
image: new _ol_style_RegularShape_({
|
||||
image: new RegularShape({
|
||||
fill: fill,
|
||||
stroke: stroke,
|
||||
points: 3,
|
||||
@@ -78,7 +78,7 @@ describe('ol.rendering.style.RegularShape', function() {
|
||||
});
|
||||
// star
|
||||
feature.setStyle(new Style({
|
||||
image: new _ol_style_RegularShape_({
|
||||
image: new RegularShape({
|
||||
fill: fill,
|
||||
stroke: stroke,
|
||||
points: 5,
|
||||
@@ -94,7 +94,7 @@ describe('ol.rendering.style.RegularShape', function() {
|
||||
});
|
||||
// cross
|
||||
feature.setStyle(new Style({
|
||||
image: new _ol_style_RegularShape_({
|
||||
image: new RegularShape({
|
||||
fill: fill,
|
||||
stroke: stroke,
|
||||
points: 4,
|
||||
|
||||
Reference in New Issue
Block a user