diff --git a/src/ol/exports.txt b/src/ol/exports.txt index 6b6d09418c..f59f548c69 100644 --- a/src/ol/exports.txt +++ b/src/ol/exports.txt @@ -124,6 +124,16 @@ @exportProperty ol.overlay.Overlay.prototype.setMap @exportSymbol ol.source.BingMaps +@exportSymbol ol.BingMapsStyle +@exportProperty ol.BingMapsStyle.AERIAL +@exportProperty ol.BingMapsStyle.AERIAL_WITH_LABELS +@exportProperty ol.BingMapsStyle.ROAD +@exportProperty ol.BingMapsStyle.ORDNANCE_SURVEY +@exportProperty ol.BingMapsStyle.COLLINS_BART +@exportObjectLiteral ol.source.BingMapsOptions +@exportObjectLiteralProperty ol.source.BingMapsOptions.culture string|undefined +@exportObjectLiteralProperty ol.source.BingMapsOptions.key string +@exportObjectLiteralProperty ol.source.BingMapsOptions.style ol.BingMapsStyle @exportSymbol ol.source.MapQuestOSM diff --git a/src/ol/source/bingmaps.js b/src/ol/source/bingmaps.js index 339abd5811..d1b6bfd729 100644 --- a/src/ol/source/bingmaps.js +++ b/src/ol/source/bingmaps.js @@ -1,4 +1,5 @@ goog.provide('ol.source.BingMaps'); +goog.provide('ol.BingMapsStyle'); goog.require('goog.Uri'); goog.require('goog.events'); @@ -21,15 +22,6 @@ ol.BingMapsStyle = { }; -/** - * @typedef {{culture: (string|undefined), - * key: string, - * style: ol.BingMapsStyle}} - */ -ol.source.BingMapsOptions; - - - /** * @constructor * @extends {ol.source.TileSource}