Simplify default export
This commit is contained in:
committed by
Tim Schaub
parent
a01e0583ea
commit
2ca60292bb
@@ -1,13 +1,12 @@
|
||||
/**
|
||||
* @module ol/source/RasterOperationType
|
||||
*/
|
||||
|
||||
/**
|
||||
* Raster operation type. Supported values are `'pixel'` and `'image'`.
|
||||
* @enum {string}
|
||||
*/
|
||||
var _ol_source_RasterOperationType_ = {
|
||||
export default {
|
||||
PIXEL: 'pixel',
|
||||
IMAGE: 'image'
|
||||
};
|
||||
|
||||
export default _ol_source_RasterOperationType_;
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
/**
|
||||
* @module ol/source/TileEventType
|
||||
*/
|
||||
|
||||
/**
|
||||
* @enum {string}
|
||||
*/
|
||||
var _ol_source_TileEventType_ = {
|
||||
export default {
|
||||
|
||||
/**
|
||||
* Triggered when a tile starts loading.
|
||||
@@ -29,5 +30,3 @@ var _ol_source_TileEventType_ = {
|
||||
TILELOADERROR: 'tileloaderror'
|
||||
|
||||
};
|
||||
|
||||
export default _ol_source_TileEventType_;
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
/**
|
||||
* @module ol/source/VectorEventType
|
||||
*/
|
||||
|
||||
/**
|
||||
* @enum {string}
|
||||
*/
|
||||
var _ol_source_VectorEventType_ = {
|
||||
export default {
|
||||
/**
|
||||
* Triggered when a feature is added to the source.
|
||||
* @event ol.source.Vector.Event#addfeature
|
||||
@@ -34,5 +35,3 @@ var _ol_source_VectorEventType_ = {
|
||||
*/
|
||||
REMOVEFEATURE: 'removefeature'
|
||||
};
|
||||
|
||||
export default _ol_source_VectorEventType_;
|
||||
|
||||
@@ -1,17 +1,16 @@
|
||||
/**
|
||||
* @module ol/source/WMSServerType
|
||||
*/
|
||||
|
||||
/**
|
||||
* Available server types: `'carmentaserver'`, `'geoserver'`, `'mapserver'`,
|
||||
* `'qgis'`. These are servers that have vendor parameters beyond the WMS
|
||||
* specification that OpenLayers can make use of.
|
||||
* @enum {string}
|
||||
*/
|
||||
var _ol_source_WMSServerType_ = {
|
||||
export default {
|
||||
CARMENTA_SERVER: 'carmentaserver',
|
||||
GEOSERVER: 'geoserver',
|
||||
MAPSERVER: 'mapserver',
|
||||
QGIS: 'qgis'
|
||||
};
|
||||
|
||||
export default _ol_source_WMSServerType_;
|
||||
|
||||
Reference in New Issue
Block a user