You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested the "compute offset" function in Javascript version and got the same answser LatLng(lat: -90, lng: 63.43494882292201) as your output.
So I think the answser shoud be LatLng(lat: -90, lng: 63.43494882292201) and not LatLng(lat: -90, lng: 0).
import { SphericalUtil, MathUtil} from "node-geometry-library";
let ans = SphericalUtil.computeOffset({ lat: 0, lng: 0 }, Math.PI * MathUtil.EARTH_RADIUS / 2.0, 180);
The text was updated successfully, but these errors were encountered:
I did some testing accroding to your code, but the result came out to be failed (as below).
I tested the "compute offset" function in Javascript version and got the same answser LatLng(lat: -90, lng: 63.43494882292201) as your output.
So I think the answser shoud be LatLng(lat: -90, lng: 63.43494882292201) and not LatLng(lat: -90, lng: 0).
The text was updated successfully, but these errors were encountered: