hugoloza / gwt-mobile-webkit

Automatically exported from code.google.com/p/gwt-mobile-webkit
2 stars 0 forks source link

GeographicalArea Contains Some Major Flaws #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
GeographicalArea class contains the Integer radius, which, by definition is 
the radius of the area.  Therefore, a larger radius implies a greater 
potential difference between the min latitude and max latitude.  

Given that the latitudeDiff calculation is "latitudeDiff = Math.PI * 
units.getEarthRadius() / radius * 180d;" The larger the radius, the smaller 
the difference between the min and max latitude.  This calculation should 
change.

Original issue reported on code.google.com by daniel.s...@gmail.com on 29 Mar 2010 at 10:04

GoogleCodeExporter commented 9 years ago
Honestly I didn't test this feature so well...

Let me put it this way: If you have tests and/or patches, you are VERY welcome 
to 
submit them!

Original comment by bguijt on 30 Mar 2010 at 7:07

GoogleCodeExporter commented 9 years ago

Original comment by bguijt on 21 Aug 2010 at 9:02