Skip to content

Commit

Permalink
Now uses newer Bing Maps styles.
Browse files Browse the repository at this point in the history
Also, updates terriajs to use terriajs-cesium v1.57.1

See #3113.
  • Loading branch information
KeyboardSounds committed May 9, 2019
1 parent ee4b0e0 commit 6bc46f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/ViewModels/createBingBaseMapOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ function createBingBaseMapOptions(terria, bingMapsKey) {

if (bingMapsKey && terria.configParameters.useCesiumIonBingImagery !== true) {
bingMapsAerialWithLabels = new BingMapsCatalogItem(terria);
bingMapsAerialWithLabels.mapStyle = BingMapsStyle.AERIAL_WITH_LABELS;
bingMapsAerialWithLabels.mapStyle = BingMapsStyle.AERIAL_WITH_LABELS_ON_DEMAND;
bingMapsAerialWithLabels.key = bingMapsKey;

bingMapsAerial = new BingMapsCatalogItem(terria);
bingMapsAerial.mapStyle = BingMapsStyle.AERIAL;
bingMapsAerial.key = bingMapsKey;

bingMapsRoads = new BingMapsCatalogItem(terria);
bingMapsRoads.mapStyle = BingMapsStyle.ROAD;
bingMapsRoads.mapStyle = BingMapsStyle.ROAD_ON_DEMAND;
bingMapsRoads.key = bingMapsKey;
} else if (terria.configParameters.useCesiumIonBingImagery !== false) {
bingMapsAerialWithLabels = new IonImageryCatalogItem(terria);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"string-replace-webpack-plugin": "^0.1.3",
"style-loader": "^0.23.1",
"svg-sprite-loader": "4.1.3",
"terriajs-cesium": "1.57.0",
"terriajs-cesium": "1.57.1",
"terriajs-html2canvas": "1.0.0-alpha.12-terriajs-1",
"urijs": "^1.18.12",
"url-loader": "^1.1.2",
Expand Down

0 comments on commit 6bc46f9

Please sign in to comment.