delboy1978uk - 3:05 pm on Feb 20, 2012 (gmt 0)
oh yeah. lol!
well in that case the question just changed :-s
here's my refined code so far
bounds = google.maps.Polygon.prototype.getBounds();
north = bounds.getNorthEast().lng();
south = bounds.getSouthWest().lng();
west = bounds.getSouthWest().lat();
east = bounds.getNorthEast().lat();
north = north + 0.00002;
south = south - 0.00002;
west = west - 0.00002;
east = east + 0.00002;
//need to run get json again!
essentially if no data is returned, i make the map bounds a little larger, and i need to try again until we get results, but how can i call it again from inside itself? and if i do, each point is set at the start of the click function :-s