Remove static members from BingMaps
This commit is contained in:
@@ -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