From: Michael Orlitzky Date: Wed, 31 Mar 2010 22:18:03 +0000 (-0400) Subject: Switched the order of the lat/long output in the KML routes to match the API. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=d5d6b4d05f7eb4846f29b57fc1a66de61185359f;p=dead%2Fcensus-tools.git Switched the order of the lat/long output in the KML routes to match the API. --- 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)