]> gitweb.michael.orlitzky.com - dead/census-tools.git/commitdiff
Updated the provideTripAlternatives parameter to the newer provideRouteAlternatives.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 14 Apr 2010 21:29:17 +0000 (17:29 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 14 Apr 2010 21:29:17 +0000 (17:29 -0400)
www/maps/maps/templates/javascript/routing.mako

index 3477d6b38fe6e68559d2e4f93dc79c40bcd7f99a..b3b1c919258830d7005268e231090175f121f3cd 100644 (file)
@@ -108,7 +108,7 @@ function get_directions(pairs_to_skip) {
       var directions_request = {
        origin: producer_latlng,
        destination: consumer_latlng,
-       provideTripAlternatives: true,    
+       provideRouteAlternatives: true,   
        travelMode: google.maps.DirectionsTravelMode.DRIVING
       }