Rename _ol_format_FormatType_ to FormatType
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
import {inherits} from '../index.js';
|
||||
import FeatureFormat from '../format/Feature.js';
|
||||
import _ol_format_FormatType_ from '../format/FormatType.js';
|
||||
import FormatType from '../format/FormatType.js';
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
@@ -43,7 +43,7 @@ JSONFeature.prototype.getObject_ = function(source) {
|
||||
* @inheritDoc
|
||||
*/
|
||||
JSONFeature.prototype.getType = function() {
|
||||
return _ol_format_FormatType_.JSON;
|
||||
return FormatType.JSON;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import {inherits} from '../index.js';
|
||||
import {assert} from '../asserts.js';
|
||||
import PBF from 'pbf';
|
||||
import FeatureFormat from '../format/Feature.js';
|
||||
import _ol_format_FormatType_ from '../format/FormatType.js';
|
||||
import FormatType from '../format/FormatType.js';
|
||||
import GeometryLayout from '../geom/GeometryLayout.js';
|
||||
import GeometryType from '../geom/GeometryType.js';
|
||||
import LineString from '../geom/LineString.js';
|
||||
@@ -345,7 +345,7 @@ MVT.prototype.getLastExtent = function() {
|
||||
* @inheritDoc
|
||||
*/
|
||||
MVT.prototype.getType = function() {
|
||||
return _ol_format_FormatType_.ARRAY_BUFFER;
|
||||
return FormatType.ARRAY_BUFFER;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
import {inherits} from '../index.js';
|
||||
import FeatureFormat from '../format/Feature.js';
|
||||
import _ol_format_FormatType_ from '../format/FormatType.js';
|
||||
import FormatType from '../format/FormatType.js';
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
@@ -40,7 +40,7 @@ TextFeature.prototype.getText_ = function(source) {
|
||||
* @inheritDoc
|
||||
*/
|
||||
TextFeature.prototype.getType = function() {
|
||||
return _ol_format_FormatType_.TEXT;
|
||||
return FormatType.TEXT;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import {inherits} from '../index.js';
|
||||
import _ol_array_ from '../array.js';
|
||||
import FeatureFormat from '../format/Feature.js';
|
||||
import _ol_format_FormatType_ from '../format/FormatType.js';
|
||||
import FormatType from '../format/FormatType.js';
|
||||
import _ol_xml_ from '../xml.js';
|
||||
|
||||
/**
|
||||
@@ -35,7 +35,7 @@ inherits(XMLFeature, FeatureFormat);
|
||||
* @inheritDoc
|
||||
*/
|
||||
XMLFeature.prototype.getType = function() {
|
||||
return _ol_format_FormatType_.XML;
|
||||
return FormatType.XML;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user