Add ol.Projection.getPointResolution

This commit is contained in:
Tom Payne
2013-03-03 17:15:56 +01:00
parent e6f08df72c
commit d3e49d0a19
2 changed files with 9 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
@exportProperty ol.Projection.prototype.getAxisOrientation
@exportProperty ol.Projection.prototype.getCode
@exportProperty ol.Projection.prototype.getExtent
@exportProperty ol.Projection.prototype.getPointResolution
@exportProperty ol.Projection.prototype.getUnits
@exportSymbol ol.ProjectionUnits

View File

@@ -85,6 +85,14 @@ ol.Projection.prototype.getExtent = function() {
};
/**
* @param {number} resolution Resolution.
* @param {ol.Coordinate} point Point.
* @return {number} Point resolution.
*/
ol.Projection.prototype.getPointResolution = goog.abstractMethod;
/**
* @return {ol.ProjectionUnits} Units.
*/