Add target/sourceProjection to ol.format.JSONFeature#read*
This commit is contained in:
committed by
Andreas Hocevar
parent
534a178a49
commit
d13261a21a
@@ -72,6 +72,8 @@ ol.format.JSONFeature.prototype.readFeatures = function(source) {
|
||||
|
||||
/**
|
||||
* @param {Object} object Object.
|
||||
* @param {ol.proj.ProjectionLike=} opt_targetProjection Target projection.
|
||||
* @param {ol.proj.ProjectionLike=} opt_sourceProjection Source projection.
|
||||
* @protected
|
||||
* @return {ol.Feature} Feature.
|
||||
*/
|
||||
@@ -80,6 +82,8 @@ ol.format.JSONFeature.prototype.readFeatureFromObject = goog.abstractMethod;
|
||||
|
||||
/**
|
||||
* @param {Object} object Object.
|
||||
* @param {ol.proj.ProjectionLike=} opt_targetProjection Target projection.
|
||||
* @param {ol.proj.ProjectionLike=} opt_sourceProjection Source projection.
|
||||
* @protected
|
||||
* @return {Array.<ol.Feature>} Features.
|
||||
*/
|
||||
@@ -96,6 +100,8 @@ ol.format.JSONFeature.prototype.readGeometry = function(source) {
|
||||
|
||||
/**
|
||||
* @param {Object} object Object.
|
||||
* @param {ol.proj.ProjectionLike=} opt_targetProjection Target projection.
|
||||
* @param {ol.proj.ProjectionLike=} opt_sourceProjection Source projection.
|
||||
* @protected
|
||||
* @return {ol.geom.Geometry} Geometry.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user