Fixes #146 - OSM redirect breaks Google Earth
This commit is contained in:
parent
f714c666d9
commit
972ad1299e
|
@ -360,6 +360,9 @@ function redirectGoogleMaps(url, initiator) {
|
|||
if (disableOsm || isException(url, initiator)) {
|
||||
return null;
|
||||
}
|
||||
if (initiator.host === "earth.google.com") {
|
||||
return null;
|
||||
}
|
||||
let redirect;
|
||||
let mapCentre = "";
|
||||
let params = "";
|
||||
|
|
Loading…
Reference in New Issue