From d5d6b4d05f7eb4846f29b57fc1a66de61185359f Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 31 Mar 2010 18:18:03 -0400 Subject: [PATCH] Switched the order of the lat/long output in the KML routes to match the API. --- www/maps/maps/controllers/directions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/maps/maps/controllers/directions.py b/www/maps/maps/controllers/directions.py index 0cd278f..d1c0d15 100644 --- a/www/maps/maps/controllers/directions.py +++ b/www/maps/maps/controllers/directions.py @@ -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) -- 2.44.2