Rename _ol_format_TopoJSON_ to TopoJSON

This commit is contained in:
Tim Schaub
2017-12-17 02:07:34 -07:00
parent cc08dcd2ca
commit f2e8d39d1f
6 changed files with 57 additions and 57 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import _ol_Map_ from '../src/ol/Map.js';
import _ol_View_ from '../src/ol/View.js';
import _ol_format_TopoJSON_ from '../src/ol/format/TopoJSON.js';
import TopoJSON from '../src/ol/format/TopoJSON.js';
import _ol_layer_VectorTile_ from '../src/ol/layer/VectorTile.js';
import {fromLonLat} from '../src/ol/proj.js';
import _ol_source_VectorTile_ from '../src/ol/source/VectorTile.js';
@@ -64,7 +64,7 @@ var map = new _ol_Map_({
source: new _ol_source_VectorTile_({
attributions: '© OpenStreetMap contributors, Whos On First, ' +
'Natural Earth, and openstreetmapdata.com',
format: new _ol_format_TopoJSON_({
format: new TopoJSON({
layerName: 'layer',
layers: ['water', 'roads', 'buildings']
}),