mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Add Bing StreetSide to imagery_used if layer enabled
This commit is contained in:
+2
-2
@@ -590,8 +590,8 @@ en:
|
||||
zoom: "Zoom to layer"
|
||||
browse: "Browse for a file"
|
||||
streetside:
|
||||
tooltip: "Streetside photos from Microsoft"
|
||||
title: "Photo Overlay (Bing Streetside)"
|
||||
tooltip: "StreetSide photos from Microsoft"
|
||||
title: "Photo Overlay (Bing StreetSide)"
|
||||
report: Report a privacy concern with this image
|
||||
mapillary_images:
|
||||
tooltip: "Street-level photos from Mapillary"
|
||||
|
||||
Vendored
+2
-2
@@ -716,8 +716,8 @@
|
||||
"browse": "Browse for a file"
|
||||
},
|
||||
"streetside": {
|
||||
"tooltip": "Streetside photos from Microsoft",
|
||||
"title": "Photo Overlay (Bing Streetside)",
|
||||
"tooltip": "StreetSide photos from Microsoft",
|
||||
"title": "Photo Overlay (Bing StreetSide)",
|
||||
"report": "Report a privacy concern with this image"
|
||||
},
|
||||
"mapillary_images": {
|
||||
|
||||
@@ -166,6 +166,11 @@ export function rendererBackground(context) {
|
||||
imageryUsed.push(extension + 'data file');
|
||||
}
|
||||
|
||||
var streetside = context.layers().layer('streetside');
|
||||
if (streetside && streetside.enabled()) {
|
||||
imageryUsed.push('Bing StreetSide');
|
||||
}
|
||||
|
||||
var mapillary_images = context.layers().layer('mapillary-images');
|
||||
if (mapillary_images && mapillary_images.enabled()) {
|
||||
imageryUsed.push('Mapillary Images');
|
||||
|
||||
Reference in New Issue
Block a user