This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user