mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-09-22 12:01:15 -04:00
Fix inverted latitude/longitude with geolocation and articles nearby search
This commit is contained in:
parent
d84e8df225
commit
df77cfdf67
@ -585,8 +585,8 @@ define(function(require) {
|
||||
alert("Found your location : latitude=" + crd.latitude + ", longitude=" + crd.longitude);
|
||||
|
||||
var rectangle = new geometry.rect(
|
||||
crd.longitude - maxDistance,
|
||||
crd.latitude - maxDistance,
|
||||
crd.longitude - maxDistance,
|
||||
maxDistance * 2,
|
||||
maxDistance * 2);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user