Rename _ol_style_Style_ to Style
This commit is contained in:
@@ -7,7 +7,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';
|
||||
|
||||
var styles = [
|
||||
/* We are using two different styles for the polygons:
|
||||
@@ -17,7 +17,7 @@ var styles = [
|
||||
* returned as `MultiPoint` geometry, which will be used to render
|
||||
* the style.
|
||||
*/
|
||||
new _ol_style_Style_({
|
||||
new Style({
|
||||
stroke: new _ol_style_Stroke_({
|
||||
color: 'blue',
|
||||
width: 3
|
||||
@@ -26,7 +26,7 @@ var styles = [
|
||||
color: 'rgba(0, 0, 255, 0.1)'
|
||||
})
|
||||
}),
|
||||
new _ol_style_Style_({
|
||||
new Style({
|
||||
image: new _ol_style_Circle_({
|
||||
radius: 5,
|
||||
fill: new _ol_style_Fill_({
|
||||
|
||||
Reference in New Issue
Block a user