AnsweredAssumed Answered

Passing x,y coordinates in AGOL or AGOL WAB to outlink URL

Question asked by 96213@charlottenc.gov_charlotte on Aug 3, 2017
Latest reply on Aug 3, 2017 by rastrauch

I'm looking for a ~fairly~ simple request, I think. 


I want a user to click on the map, say at a point where the coordinates are x=100, y=30. And then, in my pop-up, I want to pass those as URL variables, similar to how you do for attributes. I have an outlink URL (<a href></a>) that I want those values to be appended to. So in this situation, the URL would be 


Any and all help is greatly appreciated! I'm not super familiar with JS, but this project was kinda thrust unto me, so I'm looking for all the help I can get!


If you need more info, please reach out!