Hi, everybody!

 What is mathematics of function getBounds()?

Is it possible to mathematically calculate any smaller rectangle
bounds inside getBounds() area that are subset of getBounds() at
any given zoom level?

                 var bounds = gloabalgooglemapobject.getBounds();
                 var southWest = bounds.getSouthWest();
                 var northEast = bounds.getNorthEast();

                 var delta = //unknown mathematical function???

                 var A = southWest.lat() + delta;
                 var B = southWest.lng() + delta;
                 var C = northEast.lat() - delta;
                 var D = northEast.lng() - delta;

I need to get delta minimize my bounds in any zoom level always CONST
lat or lng from A, B, C and D.
Meanwhile I need this delta match some CONST screen pixels from bounds
corners. Is it possible to calculate it?

Jurgis


-- 
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.

Reply via email to