Custom Google Maps Implementation on Bubble

Hi Bubble team:

So I have implemented a Google Map on my app and I am trying to retrieve the current location of a user when they search for a specific address.

The map has been implemented using Google Maps JavaScript API and Places library API for Auto-suggest and Geo-Code functionality.

I implemented the map using an HTML element on Bubble because I needed to find a way to display the map on the app.

Screenshots:




I need your assistance however with my implementation.

If the user drags the marker on the map it is supposed to update these details with new coordinates and addresses:

Is there possibly a reason why the HTML script doesn’t pick up some of the JavaScript in there?

Could there be a better way of implementing this solutions probably apart from using HTML and JavaScript.

2nd enquiry: Is there any way I can then pull the Latitude and Longitude of the location that has been search and retrieve it from the HTML element to be stored in Bubble.

I have looked at multiple forums and even tried a few hacks but I have a feeling there is something I am missing.

Your assistance is greatly appreciated :grinning:

This topic was automatically closed after 70 days. New replies are no longer allowed.