I'm working with the Flash Api for Google Maps in my Actionscript/Air project. I now need the latLngBounds (the top left, top right, bottom right and bottom left) values of the current view of the map. The function map.getLatLngBounds should do that, but it always gives me a really low lat/lng bounds back.
Always somewhere around:
MapBounds{ lat: { hi: 0.8147270895329215 , low: 0.814011505887222 }, lng: { hi: 0.19547530117504353, low: 0.19447761445167258 } }
It's always between 1 and -1. It that how it should be? If it is, How do I use that LatLngBound to determine if a certain LatLng (for example { lat: 47.315383, lng: 12.750291 }) lies inside the boundary?
http://code.google.com/intl/nl-NL/apis/maps/documentation/flash/reference.html#IMap.getLatLngBounds