Rename _ol_style_Fill_ to Fill
This commit is contained in:
@@ -4,7 +4,7 @@ import * as _ol_extent_ from '../src/ol/extent.js';
|
||||
import GeoJSON from '../src/ol/format/GeoJSON.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_Stroke_ from '../src/ol/style/Stroke.js';
|
||||
import Style from '../src/ol/style/Style.js';
|
||||
import _ol_style_Text_ from '../src/ol/style/Text.js';
|
||||
@@ -38,7 +38,7 @@ var labelStyle = new Style({
|
||||
text: new _ol_style_Text_({
|
||||
font: '12px Calibri,sans-serif',
|
||||
overflow: true,
|
||||
fill: new _ol_style_Fill_({
|
||||
fill: new Fill({
|
||||
color: '#000'
|
||||
}),
|
||||
stroke: new _ol_style_Stroke_({
|
||||
@@ -48,7 +48,7 @@ var labelStyle = new Style({
|
||||
})
|
||||
});
|
||||
var countryStyle = new Style({
|
||||
fill: new _ol_style_Fill_({
|
||||
fill: new Fill({
|
||||
color: 'rgba(255, 255, 255, 0.6)'
|
||||
}),
|
||||
stroke: new _ol_style_Stroke_({
|
||||
|
||||
Reference in New Issue
Block a user