Remove static members from BingMaps

This commit is contained in:
Tim Schaub
2018-02-25 08:30:03 -07:00
parent 2188c5fa91
commit c5bf6f1c6f
+2 -3
View File
@@ -83,9 +83,8 @@ inherits(BingMaps, TileImage);
* Terms Of Use. * Terms Of Use.
* @const * @const
* @type {string} * @type {string}
* @api
*/ */
BingMaps.TOS_ATTRIBUTION = '<a class="ol-attribution-bing-tos" ' + const TOS_ATTRIBUTION = '<a class="ol-attribution-bing-tos" ' +
'href="https://www.microsoft.com/maps/product/terms.html">' + 'href="https://www.microsoft.com/maps/product/terms.html">' +
'Terms of Use</a>'; 'Terms of Use</a>';
@@ -197,7 +196,7 @@ BingMaps.prototype.handleImageryMetadataResponse = function(response) {
} }
}); });
attributions.push(BingMaps.TOS_ATTRIBUTION); attributions.push(TOS_ATTRIBUTION);
return attributions; return attributions;
}); });
} }