Rename _ol_style_RegularShape_ to RegularShape

This commit is contained in:
Tim Schaub
2018-01-11 13:26:51 -07:00
parent c5a4be2edd
commit 16c8d2c246
8 changed files with 77 additions and 77 deletions
+4 -4
View File
@@ -5,7 +5,7 @@ import Point from '../src/ol/geom/Point.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 Stroke from '../src/ol/style/Stroke.js';
import Style from '../src/ol/style/Style.js';
@@ -14,7 +14,7 @@ var stroke = new Stroke({color: 'black', width: 1});
var styles = {
'square': new Style({
image: new _ol_style_RegularShape_({
image: new RegularShape({
fill: new Fill({color: 'blue'}),
stroke: stroke,
points: 4,
@@ -23,7 +23,7 @@ var styles = {
})
}),
'triangle': new Style({
image: new _ol_style_RegularShape_({
image: new RegularShape({
fill: new Fill({color: 'red'}),
stroke: stroke,
points: 3,
@@ -33,7 +33,7 @@ var styles = {
})
}),
'star': new Style({
image: new _ol_style_RegularShape_({
image: new RegularShape({
fill: new Fill({color: 'green'}),
stroke: stroke,
points: 5,