Merge pull request #5836 from openstreetmap/5829

do not close image viewer if street level imagery layers are still rendered
This commit is contained in:
Bryan Housel
2019-02-01 16:42:31 -05:00
committed by GitHub
3 changed files with 0 additions and 15 deletions

View File

@@ -64,11 +64,6 @@ export function svgMapillaryImages(projection, context, dispatch) {
function hideLayer() {
var service = getService();
if (service) {
service.hideViewer();
}
throttledRedraw.cancel();
layer

View File

@@ -49,11 +49,6 @@ export function svgOpenstreetcamImages(projection, context, dispatch) {
function hideLayer() {
var service = getService();
if (service) {
service.hideViewer();
}
throttledRedraw.cancel();
layer

View File

@@ -61,11 +61,6 @@ export function svgStreetside(projection, context, dispatch) {
* hideLayer().
*/
function hideLayer() {
var service = getService();
if (service) {
service.hideViewer();
}
throttledRedraw.cancel();
layer