Skip to content
Snippets Groups Projects
Commit 98e5516f authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon: Committed by Johannes Goderbauer
Browse files

Organisation_entity.openLocation.onActionProcess

added one "/" to url so the organisation is the destination and not the startpoint
parent 3261a5b0
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment