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

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 GeoJSON from '../src/ol/format/GeoJSON.js';
import _ol_format_IGC_ from '../src/ol/format/IGC.js';
import _ol_format_KML_ from '../src/ol/format/KML.js';
@@ -85,7 +85,7 @@ var styleFunction = function(feature, resolution) {
var dragAndDropInteraction = new DragAndDrop({
formatConstructors: [
_ol_format_GPX_,
GPX,
GeoJSON,
_ol_format_IGC_,
_ol_format_KML_,

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 GeoJSON from '../src/ol/format/GeoJSON.js';
import _ol_format_IGC_ from '../src/ol/format/IGC.js';
import _ol_format_KML_ from '../src/ol/format/KML.js';
@@ -85,7 +85,7 @@ var styleFunction = function(feature, resolution) {
var dragAndDropInteraction = new DragAndDrop({
formatConstructors: [
_ol_format_GPX_,
GPX,
GeoJSON,
_ol_format_IGC_,
_ol_format_KML_,

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()];