From 21c290cc8d6556673379b584a862f290e756a1dc Mon Sep 17 00:00:00 2001 From: Scott Hunter Date: Thu, 10 Aug 2017 10:01:18 -0400 Subject: [PATCH] Add more Bing Maps imagery styles. --- CHANGES.md | 1 + Source/Scene/BingMapsStyle.js | 26 +++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 8285d7115cff..a655183f5dd9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,6 +7,7 @@ Change Log * Fixed issue where `Model` and `BillboardCollection` would throw an error if the globe is undefined [#5638](https://github.com/AnalyticalGraphicsInc/cesium/issues/5638) * Fixed issue where the `Model` glTF cache loses reference to the model's buffer data. [#5720](https://github.com/AnalyticalGraphicsInc/cesium/issues/5720) * Fixed some issues with `disableDepthTestDistance` [#5501](https://github.com/AnalyticalGraphicsInc/cesium/issues/5501) [#5331](https://github.com/AnalyticalGraphicsInc/cesium/issues/5331) [#5621](https://github.com/AnalyticalGraphicsInc/cesium/issues/5621) +* Added several new Bing Maps styles: `CANVAS_DARK`, `CANVAS_LIGHT`, and `CANVAS_GRAY`. ### 1.36 - 2017-08-01 diff --git a/Source/Scene/BingMapsStyle.js b/Source/Scene/BingMapsStyle.js index 72e21754d1ff..1415ed6f0220 100644 --- a/Source/Scene/BingMapsStyle.js +++ b/Source/Scene/BingMapsStyle.js @@ -37,7 +37,31 @@ define([ ROAD : 'Road', /** - * Ordnance Survey imagery + * A dark version of the road maps. + * + * @type {String} + * @constant + */ + CANVAS_DARK : 'CanvasDark', + + /** + * A lighter version of the road maps. + * + * @type {String} + * @constant + */ + CANVAS_LIGHT : 'CanvasLight', + + /** + * A grayscale version of the road maps. + * + * @type {String} + * @constant + */ + CANVAS_GRAY : 'CanvasGray', + + /** + * Ordnance Survey imagery. This imagery is visible only for the London, UK area. * * @type {String} * @constant