You might want to check this forum post: https://forum.mendix.com/link/space/studio-pro/questions/117970
Is this something that you are expecting?
What i did is not something what you need as a direct solution.
So after installing the mendix maps widget with a proper API Key to access Google Maps APIs. Run the mendix app.
Then in the browser console (see the image right side) write the JS helper code provided by the Google Documentation and you reach the desired result. (perhaps)
Since this is achievable you can simply do this via a Custom Widget or a Pluggable widget i think.
Good luck. Let me know if you found idea from this.