From f91ecab8ed3c9921c2c6e16fefac829889299f7c Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Mon, 12 Feb 2018 06:36:12 -0700 Subject: [PATCH] Remove private static members from ImageWMS --- src/ol/source/ImageWMS.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ol/source/ImageWMS.js b/src/ol/source/ImageWMS.js index e1b1040ff7..e78a7ebe22 100644 --- a/src/ol/source/ImageWMS.js +++ b/src/ol/source/ImageWMS.js @@ -114,9 +114,8 @@ inherits(ImageWMS, ImageSource); /** * @const * @type {ol.Size} - * @private */ -ImageWMS.GETFEATUREINFO_IMAGE_SIZE_ = [101, 101]; +const GETFEATUREINFO_IMAGE_SIZE = [101, 101]; /** @@ -146,7 +145,7 @@ ImageWMS.prototype.getGetFeatureInfoUrl = function(coordinate, resolution, proje } const extent = getForViewAndSize(coordinate, resolution, 0, - ImageWMS.GETFEATUREINFO_IMAGE_SIZE_); + GETFEATUREINFO_IMAGE_SIZE); const baseParams = { 'SERVICE': 'WMS', @@ -164,7 +163,7 @@ ImageWMS.prototype.getGetFeatureInfoUrl = function(coordinate, resolution, proje baseParams[this.v13_ ? 'J' : 'Y'] = y; return this.getRequestUrl_( - extent, ImageWMS.GETFEATUREINFO_IMAGE_SIZE_, + extent, GETFEATUREINFO_IMAGE_SIZE, 1, sourceProjectionObj || projectionObj, baseParams); };