Rename _ol_geom_Geometry_ to Geometry

This commit is contained in:
Tim Schaub
2017-12-14 08:58:46 -07:00
parent ac7985a5ad
commit 87e665d60e
9 changed files with 39 additions and 39 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import {createOrUpdate} from '../extent.js';
import _ol_format_Feature_ from '../format/Feature.js';
import _ol_format_GMLBase_ from '../format/GMLBase.js';
import _ol_format_XSD_ from '../format/XSD.js';
import _ol_geom_Geometry_ from '../geom/Geometry.js';
import Geometry from '../geom/Geometry.js';
import _ol_geom_GeometryLayout_ from '../geom/GeometryLayout.js';
import LineString from '../geom/LineString.js';
import MultiLineString from '../geom/MultiLineString.js';
@@ -996,7 +996,7 @@ _ol_format_GML3_.prototype.writeFeatureElement = function(node, feature, objectS
if (value !== null) {
keys.push(key);
values.push(value);
if (key == geometryName || value instanceof _ol_geom_Geometry_) {
if (key == geometryName || value instanceof Geometry) {
if (!(key in context.serializers[featureNS])) {
context.serializers[featureNS][key] = _ol_xml_.makeChildAppender(
this.writeGeometryElement, this);