Rename _ol_format_GeoJSON_ to GeoJSON
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import _ol_Map_ from '../src/ol/Map.js';
|
||||
import _ol_View_ from '../src/ol/View.js';
|
||||
import _ol_format_GeoJSON_ from '../src/ol/format/GeoJSON.js';
|
||||
import GeoJSON from '../src/ol/format/GeoJSON.js';
|
||||
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
|
||||
import _ol_layer_Vector_ from '../src/ol/layer/Vector.js';
|
||||
import _ol_loadingstrategy_ from '../src/ol/loadingstrategy.js';
|
||||
@@ -11,7 +11,7 @@ import _ol_style_Style_ from '../src/ol/style/Style.js';
|
||||
|
||||
|
||||
var vectorSource = new _ol_source_Vector_({
|
||||
format: new _ol_format_GeoJSON_(),
|
||||
format: new GeoJSON(),
|
||||
url: function(extent) {
|
||||
return 'https://ahocevar.com/geoserver/wfs?service=WFS&' +
|
||||
'version=1.1.0&request=GetFeature&typename=osm:water_areas&' +
|
||||
|
||||
Reference in New Issue
Block a user