Rename _ol_format_GPX_ to GPX

This commit is contained in:
Tim Schaub
2017-12-17 01:52:40 -07:00
parent 30f10b743a
commit 55ab1bc24a
5 changed files with 137 additions and 137 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_GPX_ from '../src/ol/format/GPX.js';
import GPX from '../src/ol/format/GPX.js';
import _ol_layer_Tile_ from '../src/ol/layer/Tile.js';
import _ol_layer_Vector_ from '../src/ol/layer/Vector.js';
import _ol_source_BingMaps_ from '../src/ol/source/BingMaps.js';
@@ -47,7 +47,7 @@ var style = {
var vector = new _ol_layer_Vector_({
source: new _ol_source_Vector_({
url: 'data/gpx/fells_loop.gpx',
format: new _ol_format_GPX_()
format: new GPX()
}),
style: function(feature) {
return style[feature.getGeometry().getType()];