I have map with bbox
 SW: -5.266007882805498, -56.25
 NE: 79.23718500609333, 83.671875

This map has center:
 map.getCenter().toString()
 => "(54.367758524068385, 13.7109375)"

I create
 mybound = new GLatLngBounds(new GLatLng(-5.266007882805498, -56.25),
                                                 new GLatLng
(79.23718500609333, 83.671875))

mybound.getCenter().toString()
 => "(36.985588561643915, 13.710937499999998)"

These two centers are not the same (latitude value differs for nearly
20 degrees). Seems to me that mybounds.getCenter calculate just
"aritmetic" center but map.getCenter take in account the changing
geometry between on equator and poles.

It there any way how to calculate real map center from GLatLngBounds?

Thanks David

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to