The Zone Lookup app displays the popup information that you define in your web map. So you could probably write an arcade expression that constructs the necessary url with location information (lat,lon) appended.
Alternatively we also have an undocumented option in the Zone Lookup app where you can add a link to the custom text that can appear before results, after results or when no results are found. Using these steps you can add a link to those text areas that can open up a url with either the find or center url parameters appended.
- Open the config experience for Nearby or Lookup
- Go to the Text config section where you can define the no results, pre results and post results messages.
- Click the edit button to open the text editor and enter the source mode by pressing the "Source" button.
- Add a link (you could also do this via the link button but you'll still have to edit the source). Here's an example where we have the app url and append the center url param.
<a href="https://www.arcgis.com/apps/instant/nearby/index.html?appid=705b775322e2400b9ebcaf8e2820e759&{center}" target="_blank">Link to app center</a>
In the example above the crucial bit is the {center} value. The {center} placeholder will be replaced with the map's center point. You can use find the same way by specifying {find}.
Note that in the example above we add center to the url by adding an ampersand in front of it. This is needed to ensure the parameter is added to the url. In this example we use & because the url already has a first url param added via the question mark. The "operators" section of this article explains when to use ? vs & if you aren't familiar with these options.
Currently we support these placeholder options:
- {find} : url will have the find value append (https://www.argis.com?find=Texas)
- {centerLatLon}: url will have a center url param in the order lat,lon
- {centerLonLat}: url will have a center url p aram in the order lon,lat
We do plan to offer a better configuration experience for these in a future release so any feedback on options you'd like to see supported is appreciated.