How to implement a custom Google Maps (or view the native map source code)

Hi everyone,

I’m trying to implement a custom Google Maps in my WeWeb app to use features like Marker Clustering and a few others, but I haven’t been successful so far.

Does anyone have a working code snippet they could share?

Alternatively, is it possible to get the source code of the native WeWeb Map component? It works perfectly fine out of the box, so seeing how it was built would really help me create my custom version with the missing functions.

Thanks!

Hey @danlisboa :waving_hand:

I’d recommend forking the element and asking AI to work on it:
CleanShot 2026-10-01 at 13.23.29

you can go to weweb github and find the map component there, or just fork it in the editor.