Rename _ol_style_Fill_ to Fill
This commit is contained in:
@@ -4,7 +4,7 @@ import View from '../src/ol/View.js';
|
||||
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 _ol_style_Fill_ from '../src/ol/style/Fill.js';
|
||||
import Fill from '../src/ol/style/Fill.js';
|
||||
import _ol_style_RegularShape_ from '../src/ol/style/RegularShape.js';
|
||||
import _ol_style_Stroke_ from '../src/ol/style/Stroke.js';
|
||||
import Style from '../src/ol/style/Style.js';
|
||||
@@ -15,7 +15,7 @@ var stroke = new _ol_style_Stroke_({color: 'black', width: 1});
|
||||
var styles = {
|
||||
'square': new Style({
|
||||
image: new _ol_style_RegularShape_({
|
||||
fill: new _ol_style_Fill_({color: 'blue'}),
|
||||
fill: new Fill({color: 'blue'}),
|
||||
stroke: stroke,
|
||||
points: 4,
|
||||
radius: 80,
|
||||
@@ -24,7 +24,7 @@ var styles = {
|
||||
}),
|
||||
'triangle': new Style({
|
||||
image: new _ol_style_RegularShape_({
|
||||
fill: new _ol_style_Fill_({color: 'red'}),
|
||||
fill: new Fill({color: 'red'}),
|
||||
stroke: stroke,
|
||||
points: 3,
|
||||
radius: 80,
|
||||
@@ -34,7 +34,7 @@ var styles = {
|
||||
}),
|
||||
'star': new Style({
|
||||
image: new _ol_style_RegularShape_({
|
||||
fill: new _ol_style_Fill_({color: 'green'}),
|
||||
fill: new Fill({color: 'green'}),
|
||||
stroke: stroke,
|
||||
points: 5,
|
||||
radius: 80,
|
||||
|
||||
Reference in New Issue
Block a user