When i wrote the this code "shapes[i].overlay.latLngs.i[0].getArray()" it was working fine to get the lat long array, But this time is not working . Same scenario