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
Copy file name to clipboardExpand all lines: shinysdr/i/webstatic/client/map/map-core.js
+7-11Lines changed: 7 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@
19
19
20
20
define([
21
21
'require',
22
+
'geodesy/latlon-spherical',
22
23
'../domtools',
23
24
'../events',
24
25
'../gltools',
@@ -34,6 +35,7 @@ define([
34
35
'text!./curves-f.glsl',
35
36
],(
36
37
require,
38
+
LatLon,
37
39
import_domtools,
38
40
import_events,
39
41
import_gltools,
@@ -100,7 +102,8 @@ define([
100
102
// Degree trig functions.
101
103
// We use degrees in this module because degrees are standard for latitude and longitude, and are also useful for more exact calculations because 360 is exactly representable as a floating-point number whereas 2π is not.
102
104
// TODO: Look at the edge cases and see if it would be useful to have dcos & dsin do modulo 360, so we get that exactness for them.
0 commit comments