]> gitweb.michael.orlitzky.com - dead/census-tools.git/commitdiff
Merge branch 'master' of michael.orlitzky.com:/var/www/orlitzky.com/michael/public...
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 5 Apr 2010 18:35:44 +0000 (14:35 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 5 Apr 2010 18:35:44 +0000 (14:35 -0400)
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)