The map doubles in height and width (in pixel space) for each additional zoom level.
It sounds like what you really want is to render your overlay in pixel space rather than Lat/Lng space. That would ensure that it takes up exactly the same number of pixels regardless of zoom level, and would also save redrawing the object every time someone zooms in. Look into custom controls or perhaps custom overlays. More detail about the zoom levels here: http://code.google.com/apis/maps/documentation/javascript/maptypes.html#CustomMapTypes On Fri, Feb 11, 2011 at 1:25 AM, Gregory Herman <[email protected]> wrote: > Does anyone know what the magnification from zooming one level is? I'm > assuming that zooming is linear (zooming from zoom level n to level (n+1) > multiplies each dimension by a constant k); if this assumption is false, is > there an equation that determines the extent of magnification based on the > zoom level? I'm attempting to keep a geographically-linked object a > constant size on the Google Map regardless of the zoom level (so it takes up > more lat/long when zoomed out), and knowing exactly what this magnification > constant is would be helpful (unless there is an easier way to do this?). I > looked through the documentation, but can't seem to find any specific > logistical information like this. Thank you in advance. > > -- > 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. > -- 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.
