This commit is contained in:
@@ -548,6 +548,9 @@ export default {
|
||||
"https://www.google.com/maps/search/?api=1&query={aylatitude},{aylongitude}";
|
||||
mapUrl = mapUrl.split("{aylatitude}").join(obj.latitude);
|
||||
mapUrl = mapUrl.split("{aylongitude}").join(obj.longitude);
|
||||
if (obj.pointname) {
|
||||
mapUrl = mapUrl.split("{aypointname}").join(obj.pointname);
|
||||
}
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user