End the getResolutionForExtent experiment
This commit is contained in:
@@ -317,7 +317,6 @@ goog.exportProperty(
|
|||||||
* @param {ol.Size} size Box pixel size.
|
* @param {ol.Size} size Box pixel size.
|
||||||
* @return {number} The resolution at which the provided extent will render at
|
* @return {number} The resolution at which the provided extent will render at
|
||||||
* the given size.
|
* the given size.
|
||||||
* @api
|
|
||||||
*/
|
*/
|
||||||
ol.View.prototype.getResolutionForExtent = function(extent, size) {
|
ol.View.prototype.getResolutionForExtent = function(extent, size) {
|
||||||
var xResolution = ol.extent.getWidth(extent) / size[0];
|
var xResolution = ol.extent.getWidth(extent) / size[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user