Browse Source

Fix inverted coords in JSON files

Jocelyn Delande 9 years ago
parent
commit
3984b86b84
1 changed files with 1 additions and 2 deletions
  1. 1 2
      wifiwithme/apps/contribmap/views.py

+ 1 - 2
wifiwithme/apps/contribmap/views.py

@@ -76,14 +76,13 @@ class PublicJSON(JSONContribView):
         for i in contribs:
             if not i.is_public():
                 continue
-
             data.append({
                 "id": i.pk,
                 "type": "Feature",
                 "geometry": {
                     "coordinates": [
-                        i.latitude,
                         i.longitude,
+                        i.latitude
                     ],
                     "type": "Point",
                 },