Rename _ol_style_Fill_ to Fill

This commit is contained in:
Tim Schaub
2018-01-11 13:23:27 -07:00
parent 4f4c90fc20
commit dc6ae2293d
65 changed files with 268 additions and 268 deletions

View File

@@ -15,7 +15,7 @@ import OSM from '../src/ol/source/OSM.js';
import VectorSource from '../src/ol/source/Vector.js';
import Style from '../src/ol/style/Style.js';
import _ol_style_Stroke_ from '../src/ol/style/Stroke.js';
import _ol_style_Fill_ from '../src/ol/style/Fill.js';
import Fill from '../src/ol/style/Fill.js';
import _ol_style_Circle_ from '../src/ol/style/Circle.js';
import _ol_style_Text_ from '../src/ol/style/Text.js';
import MousePosition from '../src/ol/control/MousePosition.js';
@@ -31,12 +31,12 @@ var nodesLayer = new VectorLayer({
var style = new Style({
image: new _ol_style_Circle_({
radius: 8,
fill: new _ol_style_Fill_({color: 'rgba(255, 0, 0, 0.2)'}),
fill: new Fill({color: 'rgba(255, 0, 0, 0.2)'}),
stroke: new _ol_style_Stroke_({color: 'red', width: 1})
}),
text: new _ol_style_Text_({
text: f.get('node').id.toString(),
fill: new _ol_style_Fill_({color: 'red'}),
fill: new Fill({color: 'red'}),
stroke: new _ol_style_Stroke_({
color: 'white',
width: 3
@@ -58,7 +58,7 @@ var edgesLayer = new VectorLayer({
}),
text: new _ol_style_Text_({
text: f.get('edge').id.toString(),
fill: new _ol_style_Fill_({color: 'blue'}),
fill: new Fill({color: 'blue'}),
stroke: new _ol_style_Stroke_({
color: 'white',
width: 2
@@ -78,13 +78,13 @@ var facesLayer = new VectorLayer({
color: 'black',
width: 1
}),
fill: new _ol_style_Fill_({
fill: new Fill({
color: 'rgba(0, 255, 0, 0.2)'
}),
text: new _ol_style_Text_({
font: 'bold 12px sans-serif',
text: f.get('face').id.toString(),
fill: new _ol_style_Fill_({color: 'green'}),
fill: new Fill({color: 'green'}),
stroke: new _ol_style_Stroke_({
color: 'white',
width: 2