This commit is contained in:
2020-12-01 21:43:20 +00:00
parent 6350534d28
commit e2b3a03682
2 changed files with 7 additions and 12 deletions

View File

@@ -738,11 +738,13 @@ export default {
);
}
if (window.open(mapUrl, "map") == null) {
throw new Error(
"Problem displaying map in new window. Browser must allow pop-ups to view maps; check your browser setting"
);
}
//This is not valid to do as some platforms don't open a new web browser window
//but rather a map application in which case this is null and throws up the exception even though it's working
// if (window.open(mapUrl, "map") == null) {
// throw new Error(
// "Problem displaying map in new window. Browser must allow pop-ups to view maps; check your browser setting"
// );
// }
},
///////////////////////////////////////////////
// Online mapping service url formats