# JavaScript and Mapbox integration into Glide

**URL:** <https://community.glideapps.com/t/javascript-and-mapbox-integration-into-glide/63010>\
**Category:** Ask for Help\
**Created:** [June 21, 2023, 11:04am UTC](https://community.glideapps.com/t/javascript-and-mapbox-integration-into-glide/63010 "2023-06-21T11:04:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Il\_ya\_Samokhin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/il_ya_samokhin/32/60607_2.png) [@Il\_ya\_Samokhin](https://community.glideapps.com/u/Il_ya_Samokhin)\
**Post date:** [June 21, 2023, 11:04am UTC](https://community.glideapps.com/t/javascript-and-mapbox-integration-into-glide/63010/1 "2023-06-21T11:04:46Z")

</div>

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------

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 21, 2023, 11:32pm UTC](https://community.glideapps.com/t/javascript-and-mapbox-integration-into-glide/63010/2 "2023-06-21T23:32:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Il\_ya\_Samokhin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/il_ya_samokhin/32/60607_2.png) [@Il\_ya\_Samokhin](https://community.glideapps.com/u/Il_ya_Samokhin)\
**Post date:** [June 22, 2023, 3:38pm UTC](https://community.glideapps.com/t/javascript-and-mapbox-integration-into-glide/63010/3 "2023-06-22T15:38:23Z")

</div>

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