Use maths instead of relying on inbuilt functions. You could recode that blind folded.
On Wed, Jul 20, 2011 at 4:20 AM, Bruce Ralston <brals...@utk.edu> wrote: > I have run into a problem with the LatLngBounds object in the Google Maps > API for Flash (version 1_20). I have a set of points for which I create a > bounds object. The object does not correctly return the center. For > example, querying the bounds yields the following > > bounds.getEast() returns -98.6903 (this is correct) > bounds.getWest() returns -99.3133 (this is correct) > bounds.getCenter.lng() returns 80.998 (This is very wrong!) > > Anyone know of a fix? > > -- > Bruce Ralston > Professor Emeritus > Department of Geography > University of Tennessee > Knoxville, TN 37996-0925 > Phone: 865-974-6043 > FAX: 865-974-6025 > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API For Flash" group. > To post to this group, send email to > google-maps-api-for-flash@googlegroups.com. > To unsubscribe from this group, send email to > google-maps-api-for-flash+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-maps-api-for-flash?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" group. To post to this group, send email to google-maps-api-for-flash@googlegroups.com. To unsubscribe from this group, send email to google-maps-api-for-flash+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api-for-flash?hl=en.