Rename _ol_style_Style_ to Style

This commit is contained in:
Tim Schaub
2018-01-11 13:22:43 -07:00
parent 5f40eec148
commit 4f4c90fc20
80 changed files with 420 additions and 420 deletions

View File

@@ -6,7 +6,7 @@ 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 _ol_style_Stroke_ from '../src/ol/style/Stroke.js';
import _ol_style_Style_ from '../src/ol/style/Style.js';
import Style from '../src/ol/style/Style.js';
import _ol_style_Text_ from '../src/ol/style/Text.js';
var map = new Map({
@@ -17,7 +17,7 @@ var map = new Map({
})
});
var labelStyle = new _ol_style_Style_({
var labelStyle = new Style({
geometry: function(feature) {
var geometry = feature.getGeometry();
if (geometry.getType() == 'MultiPolygon') {
@@ -47,7 +47,7 @@ var labelStyle = new _ol_style_Style_({
})
})
});
var countryStyle = new _ol_style_Style_({
var countryStyle = new Style({
fill: new _ol_style_Fill_({
color: 'rgba(255, 255, 255, 0.6)'
}),