I’ve recently been working on a (non-Google) map-related project in Bubble, and I have some insights to share on this topic. After a bit of sleuthing that was prompted by app behavior which puzzled me, I came to understand that Bubble’s “geographic address” data type is tightly integrated with Google services - geocoding and reverse geocoding, in particular.

Basically, any time such a data type is referenced - be it a field in a DB table or within a plugin via an action or custom state - Bubble fires off a network request to Google services to resolve the coordinates into an address or vice versa.

It’s actually pretty sweet that it “works its magic” behind the scenes without any knowledge required on the part of the Bubble developer; and I would imagine that it’s desirable behavior for many (most?) apps - as long as you don’t mind a data type (and thus your app) being wedded to Google.

Of course, it also means that such use of Google services does not require that an actual Bubble map element be used anywhere within the app - only the “address” data type.

It seems that to “divorce” your app from Google entirely, you’d need to store locations in some other format - perhaps a couple number fields for lat/lon, or a custom data type, or whatever.

It turns out the Bubble manual hints at this relationship without explicitly mentioning the tight integration with the “address” data type.

Anyway, just thought others might be interested.

-Steve

3 Likes