Create polygon tool

2

I need to create a tool that draws a Polygon using the existing polygon tool. It would have a field LAT and LNG , where you would enter the values and it will add the points alone, without having to click with the mouse .

Here is the code (example does not work)

I tried to use the " click " trigger, but without success.
Can anyone help me?

    
asked by anonymous 02.10.2015 / 04:59

0 answers