Closed RuyVictor closed 1 week ago
The SphericalUitl & PolygonUtil class contains the incorrect earth radius, change it from 6371009.0 to 6378137.0. The results will be the same as lib javascript V3.
Earth radius 6371009 from Android Maps Utils - https://github.com/googlemaps/android-maps-utils/blob/main/library/src/main/java/com/google/maps/android/MathUtil.java
The SphericalUitl & PolygonUtil class contains the incorrect earth radius, change it from 6371009.0 to 6378137.0. The results will be the same as lib javascript V3.