UNPKG
kea-geo
Version:
latest (0.0.12)
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Collection of geo related utility
github.com/ardhi/kea-geo
ardhi/kea-geo
kea-geo
/
src
/
lngSizeOf.js
4 lines
(3 loc)
•
116 B
JavaScript
View Raw
1
2
3
4
module
.
exports
=
function
(
value, lat
) {
return
((value /
40075017
) *
360
) /
Math
.
cos
((
Math
.
PI
/
180
) * lat) }