here is my code :
var posmark = markerarr["535413"].getPosition();
console.log(posmark);
// **Console.log** ▲
Ya: 41.64272
Za: 41.65764999999999
//
var posshp = poli_arr.s1;
console.log(posshp);
// **Console.log** ▲
Zl: yo
__e3_: Object
__gm_id: 252
b: null
center: P
fillColor: "#FF0000"
fillOpacity: 0.35
gm_accessors_: Object
map: null
radius: 100
strokeColor: "#FF0000"
strokeOpacity: 0.8
strokeWeight: 2
__proto__: c
//
var res = google.maps.geometry.poly.containsLocation(posmark, posshp);
console.log(res);
//**Console.log** ▲
Uncaught TypeError: Cannot call method 'getLength' of undefined
//
where is broblem? i cant fix it… i want check marker if exist in polygon zone. if anybody knows better way for checking markers into poligon radius please replay me how i can do this better. thanks
simple way for this is this code its tested and works fine :