do not specify the source projection in ol.parser.ReadFeaturesOptions anymore
This commit is contained in:
@@ -552,8 +552,5 @@ ol.parser.ogc.GML.prototype.createGeometry_ = function(container,
|
||||
ol.parser.ogc.GML.prototype.readFeaturesFromString =
|
||||
function(str, opt_options) {
|
||||
this.readFeaturesOptions_ = opt_options;
|
||||
if (goog.isDef(opt_options) && goog.isDef(opt_options.projection)) {
|
||||
this.axisOrientation = opt_options.projection.getAxisOrientation();
|
||||
}
|
||||
return this.read(str).features;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user