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

@@ -8,7 +8,7 @@ import VectorSource from '../src/ol/source/Vector.js';
import _ol_style_Circle_ from '../src/ol/style/Circle.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 openSansAdded = false;
@@ -128,7 +128,7 @@ var createTextStyle = function(feature, resolution, dom) {
// Polygons
function polygonStyleFunction(feature, resolution) {
return new _ol_style_Style_({
return new Style({
stroke: new _ol_style_Stroke_({
color: 'blue',
width: 1
@@ -151,7 +151,7 @@ var vectorPolygons = new VectorLayer({
// Lines
function lineStyleFunction(feature, resolution) {
return new _ol_style_Style_({
return new Style({
stroke: new _ol_style_Stroke_({
color: 'green',
width: 2
@@ -171,7 +171,7 @@ var vectorLines = new VectorLayer({
// Points
function pointStyleFunction(feature, resolution) {
return new _ol_style_Style_({
return new Style({
image: new _ol_style_Circle_({
radius: 10,
fill: new _ol_style_Fill_({color: 'rgba(255, 0, 0, 0.1)'}),