From df77cfdf67d5cdf6c81296c8ff5b59b863bad1cb Mon Sep 17 00:00:00 2001 From: mossroy Date: Wed, 19 Mar 2014 18:47:59 +0100 Subject: [PATCH] Fix inverted latitude/longitude with geolocation and articles nearby search --- www/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/app.js b/www/js/app.js index 6586b873..e9d917d8 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -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);