On Sep 24, 3:34 am, FFMG <[email protected]> wrote: > Hi, > > I am using a simple projection to convert the 2D Lat/Lng bounds to > screen x/y coordinates.
Are you using the map's projection? http://code.google.com/apis/maps/documentation/javascript/reference.html#Projection -- Larry > But obviously this direct projection is flawed when the distance > between the North East and South West is larger. For example, the > centre of the screen is not exactly halfway between the two bounds. > > I know that books are literally written about 2D projections and so > forth, but would there be a simple formula to 'adjust' the projection > given the distance between the two opposite corners? > > Many thanks > > FFMG -- 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.
