diff --git a/entity/Organisation_entity/entityfields/openlocation/onActionProcess.js b/entity/Organisation_entity/entityfields/openlocation/onActionProcess.js index 764513935758151ec5cf988b86e9f304be4d296f..1b94fd17857e5341668bf6d95a4c3b548d1ab214 100644 --- a/entity/Organisation_entity/entityfields/openlocation/onActionProcess.js +++ b/entity/Organisation_entity/entityfields/openlocation/onActionProcess.js @@ -13,6 +13,8 @@ addressData = newSelect("ADDRESS, BUILDINGNO, ZIP, CITY, COUNTRY") address.push(addressData.join("+")); -addressUrl = "https://www.google.com/maps/dir/" + address.join("/"); +addressUrl = "https://www.google.com/maps/dir//" + address.join("/"); +// the two slashes after dir are needed, because google uses those to specify whether the address is the startpoint +// or the location of the route. We need two, because we want the location of the organisation as the destination. neon.openUrl(addressUrl, true); \ No newline at end of file