Remove unnecessary space at end of bing key

This commit is contained in:
Maximilian Krög
2020-07-12 15:25:44 +02:00
parent 856830b834
commit b6404fb766
4 changed files with 5 additions and 8 deletions
+1 -2
View File
@@ -18,8 +18,7 @@ for (i = 0, ii = styles.length; i < ii; ++i) {
visible: false, visible: false,
preload: Infinity, preload: Infinity,
source: new BingMaps({ source: new BingMaps({
key: key: 'ApTJzdkyN1DdFKkRAE6QIDtzihNaf6IWJsT-nQ_2eMoO4PN__0Tzhl2-WgJtXFSp',
'ApTJzdkyN1DdFKkRAE6QIDtzihNaf6IWJsT-nQ_2eMoO4PN__0Tzhl2-WgJtXFSp ',
imagerySet: styles[i], imagerySet: styles[i],
// use maxZoom 19 to see stretched tiles instead of the BingMaps // use maxZoom 19 to see stretched tiles instead of the BingMaps
// "no photos at this zoom level" tiles // "no photos at this zoom level" tiles
+2 -4
View File
@@ -13,8 +13,7 @@ const map1 = new Map({
new TileLayer({ new TileLayer({
preload: Infinity, preload: Infinity,
source: new BingMaps({ source: new BingMaps({
key: key: 'ApTJzdkyN1DdFKkRAE6QIDtzihNaf6IWJsT-nQ_2eMoO4PN__0Tzhl2-WgJtXFSp',
'ApTJzdkyN1DdFKkRAE6QIDtzihNaf6IWJsT-nQ_2eMoO4PN__0Tzhl2-WgJtXFSp ',
imagerySet: 'Aerial', imagerySet: 'Aerial',
}), }),
}), }),
@@ -28,8 +27,7 @@ const map2 = new Map({
new TileLayer({ new TileLayer({
preload: 0, // default value preload: 0, // default value
source: new BingMaps({ source: new BingMaps({
key: key: 'ApTJzdkyN1DdFKkRAE6QIDtzihNaf6IWJsT-nQ_2eMoO4PN__0Tzhl2-WgJtXFSp',
'ApTJzdkyN1DdFKkRAE6QIDtzihNaf6IWJsT-nQ_2eMoO4PN__0Tzhl2-WgJtXFSp ',
imagerySet: 'AerialWithLabelsOnDemand', imagerySet: 'AerialWithLabelsOnDemand',
}), }),
}), }),