Search for a location using an input

Has anyone configured maps using an input yet. I want the user to type in a location and then have the map display that location as a marker

When I use a standard input, the input just refreshed and nothing happens on a map. If I save the input as a text and as an address and display it on a map later on, then it works

I also can’t get the basic Google Maps to work, iOS or Android

In the Settings, I’ve copied my “Google Maps API Key” into the “Google Maps API Key for iOS” and the “Google Maps API Key for Android” fields

But that achieves nothing in Google Maps, on either iOS or Android, beyond just showing the map with starting location in new york, in BubbleGo

I got the maps setup but the input does not search and display, if you use only an input and then save the data in your table you can then display it on a map in a separate view

I had an android so I had pushed the app live to test it, map works on live I’m not sure about bubble go at the moment

What type of input are you using ? have you managed to implement an input which displays address suggestions from Google Maps ? Or you are just typing the whole address manually ?

That’s the issue sugegsted locations dont show up neither does the input dynamically display it on maps when being entered. Its only when you save the text as a geoaddress in the data base that you can display the marker address

The work around I’m using is saving a location text field and then a backend workflow that duplicates this into an address field. That’s the only way I can get this working for now


2 Likes

Is your location field a geographic address? When I try this and input the text from another field, it doesn’t actually process it (even with the backend workflow API/event).


And when I try to use a text input and save it directly to geographic address field, I get this error message:

1 Like

update, I fixed it with this:

1 Like

Hey is this a self-constructed API call - Google Maps - Geocoding? Or is this built in. Would be really nice if they could add a “Search” element to mobile.

You can implement a custom geographic places searchbox by using a standard text input and a shortlist displaying results from Google Autocomplete API :

2 Likes

Yea I hope the bubble team can fix this! I am also getting this error/bug of “Error hitting Google Geocode API” even when I have a credential with all restrictions and scopes completely turned off. Please help fix this @nick.carroll !

I personally used that plug-in: Google Maps - Geocoding Plugin | Bubble


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.