extract bounds conversion from Map.Geolocation.Also fix geolocation test page.
Merge pull request #3001 from snkashis/latlng_bounds_conversion

extract bounds conversion from Map.Geolocation.Also fix geolocation test...