Remove static members from BingMaps
This commit is contained in:
1 parent
2188c5fa91
commit
c5bf6f1c6f
1 file changed
+2
-3
@@ -83,9 +83,8 @@ inherits(BingMaps, TileImage);
|
||||
* Terms Of Use.
|
||||
* @const
|
||||
* @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">' +
|
||||
'Terms of Use</a>';
|
||||
|
||||
@@ -197,7 +196,7 @@ BingMaps.prototype.handleImageryMetadataResponse = function(response) {
|
||||
}
|
||||
});
|
||||
|
||||
attributions.push(BingMaps.TOS_ATTRIBUTION);
|
||||
attributions.push(TOS_ATTRIBUTION);
|
||||
return attributions;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user