Rename "adaptOptionsWithDefaultDataProjection"

This commit is contained in:
tsauerwein
2014-08-21 11:39:01 +02:00
parent b30ed6b934
commit 939e167c0b
5 changed files with 18 additions and 38 deletions

View File

@@ -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));
};