Closed MKellyEsri closed 6 years ago
Thanks for taking a look. Great suggestion - I’ll revise on Monday.
Just made suggested revisions @ekenes :wink: 2369b38dace2ac31956f4a70cb9364572fd00d5d
Thanks! Made a few minor formatting updates. Merging...
Great stuff - thanks @ekenes.
@MKellyEsri I just tested your webmap and it looks like the link for the Google Pin and the Google Panormaic are the same:
Panoramic: https://www.google.com/maps/@?api=1&map_action=pano&viewpoint= Pin: https://www.google.com/maps/@?api=1&map_action=pano&viewpoint=
var BaseUrl = Decode( EndGoal,
"Google Directions", "https://www.google.com/maps/dir/?api=1&origin=Current+Location&destination=",
"Google Panoramic", "https://www.google.com/maps/@?api=1&map_action=pano&viewpoint=",
"Google Pin", "https://www.google.com/maps/@?api=1&map_action=pano&viewpoint=",
"Invalid"
);
Apologies - the Google Pin Url somehow got changed. It's the same in the master: https://github.com/Esri/arcade-expressions/blob/master/popup/url-withlocation.md. Should I open another pull request or do you want to make the change?
The Google Pin BaseUrl needs to be changed to "https://maps.google.com/maps?t=k&q=loc:" in the Decode function.
I have revised the Web Map.
I'll go ahead and make the change. Thanks!
Done.
Hyperlinks which pass latatitude and longitude values dynamically