]> gitweb.michael.orlitzky.com - dead/census-tools.git/blobdiff - www/maps/maps/controllers/directions.py
Merge branch 'master' of michael.orlitzky.com:/var/www/orlitzky.com/michael/public...
[dead/census-tools.git] / www / maps / maps / controllers / directions.py
index 0cd278ffa6893dfcbf741037339c2c289b77c5f0..d1c0d1567439ce847fcdfa639e1094bb38965dc6 100644 (file)
@@ -60,9 +60,9 @@ class DirectionsController(BaseController):
                 
                 for step in route['steps']:
                     for coord in step['lat_lngs']:
-                        coords.text += str(coord.values()[1])
-                        coords.text += ','
                         coords.text += str(coord.values()[0])
+                        coords.text += ','
+                        coords.text += str(coord.values()[1])
                         coords.text += ',0 '
                         
                 ls.children.append(coords)