Switch to Mapillary API v4

This commit is contained in:
Nikola Pleša
2021-06-15 10:13:07 +02:00
parent 6cd17713fa
commit 7a0d8adb7b
13 changed files with 344 additions and 412 deletions
+2 -2
View File
@@ -19,9 +19,9 @@ export function uiPhotoviewer(context) {
.append('button')
.attr('class', 'thumb-hide')
.on('click', function () {
if (services.streetside) { services.streetside.hideViewer(context); }
//if (services.streetside) { services.streetside.hideViewer(context); }
if (services.mapillary) { services.mapillary.hideViewer(context); }
if (services.openstreetcam) { services.openstreetcam.hideViewer(context); }
//if (services.openstreetcam) { services.openstreetcam.hideViewer(context); }
})
.append('div')
.call(svgIcon('#iD-icon-close'));