Google Maps API - How to calculare Area? (libraries)

Hello everyone,

I know that the google API allows through its libraries to make surface calculation drawings.

But I don’t know how I could implement this functionality with Bubble.

Has anyone been able to do something similar?

Use Google Maps to calculate the area of ​​a piece of agricultural land.

Thank you!