I am trying to use the containsLocation from the Google geometry library, but can\'t get it to work...
containsLocation
var point = new google.maps.LatLng(51.331
i had the same problem ([object Object]), I could solve that creating the polygon variable like that: draw = new google.maps.Polygon({paths:polyOptions});
([object Object])
draw = new google.maps.Polygon({paths:polyOptions});
Then the problem disappeared.