Google Maps JavaScript API v3: how to get the center lat & lon of a polygon phptuts May 3, 2013 How to get the center lat & lon of a polygon? We can do it just by calling polygon.getBounds().getCenter() Note: in Google Maps JavaScript API… Continue Reading
Google Maps JavaScript API v3: method Polygon.getBounds phptuts October 1, 2012 In Google Maps JavaScript API v2, Polygon had a getBounds() method, but that doesn’t exist for v3 Polygon. Here’s the solution: Here, we present a… Continue Reading
Google Maps JavaScript API v3: method Polyline.getBounds phptuts October 1, 2012 In Google Maps JavaScript API v2, Polyline had a getBounds() method, but that doesn’t exist for v3 Polyline. I wrote some methods below: Method 1:… Continue Reading