JavaScript and Mapbox integration into Glide

We’ve got a JavaScript code to input lat/lon parameters using a mouse click on a mapbox frame.
The code is reading the mouse click on the map and then passing the coordinates to another page (child1.asp) which is postprocessing them and creates a dynamic input form. Our JavaScript code as below.

Could you please give an idea if it’s possible to integrate the page like this and pass lat/lon parameters to a new popup form?

------CODE START------

#info { display: table; position: relative; margin: 0px auto; word-wrap: anywhere; white-space: pre-wrap; padding: 10px; border: none; border-radius: 3px; font-size: 12px; text-align: center; color: #222; background: #fff; }


------CODE FINISH------

I doubt you would be able to get access to the lat/lon params unless you somehow write it to a cell in Glide.

thanks! feels like we can’t do it here.

1 Like