diff --git a/src/ol/source/BingMaps.js b/src/ol/source/BingMaps.js index bbfbbbe557..914e64288b 100644 --- a/src/ol/source/BingMaps.js +++ b/src/ol/source/BingMaps.js @@ -45,6 +45,47 @@ const TOS_ATTRIBUTION = '} resourceSets The array of resource sets + */ + + +/** + * @typedef {Object} ResourceSet + * @property {Array} resources + */ + + +/** + * @typedef {Object} Resource + * @property {number} imageHeight The image height + * @property {number} imageWidth The image width + * @property {number} zoomMin The minimum zoom level + * @property {string} imageUrl The image URL + * @property {Array} imageUrlSubdomains The image URL subdomains for rotation + * @property {Array} [imageryProviders] The array of ImageryProviders + */ + + +/** + * @typedef {Object} ImageryProvider + * @property {Array} coverageAreas The coverage areas + * @property {string} [attribution] The attribution + */ + + +/** + * @typedef {Object} CoverageArea + * @property {number} zoomMin The minimum zoom + * @property {number} zoomMax The maximum zoom + * @property {Array} bbox The coverage bounding box + */ + + /** * @classdesc * Layer source for Bing Maps tile data.