How to use Drawing tools on map?

How to use Drawing tools on map?

  

I'm trying to use the Drawing manager on my application using Google Maps API v3. But i don't how to transform the map to accept the Drawing Tools. 

I want to create something like: http://geocodezip.com/v3_GoogleEx_drawing-tools_single.html

Using the Drawing Tools: https://developers.google.com/maps/documentation/javascript/examples/drawing-tools

I need to Add a map event? Or some configuration on MapOptions in widget? Or a expression with javascript?

In attachment, I send the methods that I can use from API.


Thanks for help


Hi César, 


The supported Google Maps component does not aim at solving all the different advanced scenarios like the one you're describing.

In the past, I've used an alternative version instead https://www.outsystems.com/forge/component-details/398/Google+Maps+by+LxIS/, which has several types of pre-built webblocks with different advanced options, polygon drawing being one of those.


Check it out and let me know what you make of it.