In addition, this is not really possible since the scale will vary in different places on the earth's projection. This is just one effect of using the Mercator projection.
Read more here: http://en.wikipedia.org/wiki/Mercator_projection On Sun, Jan 9, 2011 at 2:13 AM, dtipson <[email protected]> wrote: > I don't have an exact answer to your question, but note that the zoom > levels are discrete, not arbitrary. There may not be a zoom level, out of > the ones available, that exactly matches your 500m=150pixels. One easy way > I Start by going to google maps, enable the scale bar in google maps labs > (the little green beaker up in the top right corner), and count the pixels > for particular scales at particular zoom levels, and you'll get a sense of > the basic ratio of miles to pixels and how it changes as you change zoom > levels. I'm sure there's a more exact method to use in the API, but I'm > rushing out the door atm, and that should serve as a good starting point. > :) > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
