6 Sie 2009

Szukanie granic punktów na mapie

function findBounds(points) {
 var bounds = new GLatLngBounds();
 for(var i=0;i<points.length;i++){bounds.extend(points[i])}
return bounds;
};