mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 17:14:04 +02:00
Merge branch 'streetside' of https://github.com/jharpster/iD into jharpster-streetside
(also cleanup whitespace and lint)
This commit is contained in:
@@ -249,6 +249,7 @@ export function uiInit(context) {
|
||||
.append('button')
|
||||
.attr('class', 'thumb-hide')
|
||||
.on('click', function () {
|
||||
if (services.streetside) { services.streetside.hideViewer(); }
|
||||
if (services.mapillary) { services.mapillary.hideViewer(); }
|
||||
if (services.openstreetcam) { services.openstreetcam.hideViewer(); }
|
||||
})
|
||||
|
||||
@@ -86,7 +86,7 @@ export function uiMapData(context) {
|
||||
|
||||
|
||||
function drawPhotoItems(selection) {
|
||||
var photoKeys = ['mapillary-images', 'mapillary-signs', 'openstreetcam-images'];
|
||||
var photoKeys = ['streetside','mapillary-images', 'mapillary-signs', 'openstreetcam-images'];
|
||||
var photoLayers = layers.all().filter(function(obj) { return photoKeys.indexOf(obj.id) !== -1; });
|
||||
var data = photoLayers.filter(function(obj) { return obj.layer.supported(); });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user