Rename "adaptOptionsWithDefaultDataProjection"
This commit is contained in:
@@ -128,9 +128,7 @@ ol.format.JSONFeature.prototype.readProjectionFromObject = goog.abstractMethod;
|
||||
* @inheritDoc
|
||||
*/
|
||||
ol.format.JSONFeature.prototype.writeFeature = function(feature, opt_options) {
|
||||
return this.writeFeatureObject(
|
||||
feature,
|
||||
this.adaptOptionsWithDefaultDataProjection(opt_options));
|
||||
return this.writeFeatureObject(feature, this.adaptOptions(opt_options));
|
||||
};
|
||||
|
||||
|
||||
@@ -148,9 +146,7 @@ ol.format.JSONFeature.prototype.writeFeatureObject = goog.abstractMethod;
|
||||
*/
|
||||
ol.format.JSONFeature.prototype.writeFeatures = function(
|
||||
features, opt_options) {
|
||||
return this.writeFeaturesObject(
|
||||
features,
|
||||
this.adaptOptionsWithDefaultDataProjection(opt_options));
|
||||
return this.writeFeaturesObject(features, this.adaptOptions(opt_options));
|
||||
};
|
||||
|
||||
|
||||
@@ -168,9 +164,7 @@ ol.format.JSONFeature.prototype.writeFeaturesObject = goog.abstractMethod;
|
||||
*/
|
||||
ol.format.JSONFeature.prototype.writeGeometry = function(
|
||||
geometry, opt_options) {
|
||||
return this.writeGeometryObject(
|
||||
geometry,
|
||||
this.adaptOptionsWithDefaultDataProjection(opt_options));
|
||||
return this.writeGeometryObject(geometry, this.adaptOptions(opt_options));
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user