i have a method `submitAdd()` that get value from another method `polygonDrawer()`
The issue is that I get `undefined` value at the `submitAdd()` method.
it seems to be a this problem.

polygonDrawer()
===============

```
polygonDrawer()
{
var i;
var map;
var cords = [];
 google.maps.event.addListener(drawingManager, 'polygoncomplete', function (polygon) {

            field.setPath(polygon.getPath().getArray());
            field.setMap(map);

            for (var i = 0; i < field.getPath().getLength(); i++) {
                cords.push(field.getPath().getAt(i).toUrlValue(6));
                text += field.getPath().getAt(i).toUrlValue(6) + "#";
            }                
            this.pointSTR2=text.slice(0, -1);
         });
}

```

submitAdd()
===========

```
pointSTR2:any;

submitAdd() {
    console.log("**"+this.pointSTR2); // undefined

}

```