I am using Google Maps API V3 to draw squares of 1 mile by 1 mile.
Problem: From the API reference, the bounds property can be used to define the size of the rectangle object, but in terms of LatLng coordinates. Given a particular point’s LatLng, how can we draw a rectangle 1 mile by 1 mile, or 1 km by 1 km?
Update: What I am trying to do is to divide a state say Philadelphia into 10 mile by 10 mile squares. It does not need to be very precise.
You should keep in mind that the Earth’s surface is curved; it is impossible to truly divide it up into squares. The squares that make up a Google map are longer on the bottom than they are on the top. This will make your map somewhat more complicated.