[Google Maps API v3] Geocoding input boxes and doing a route() query

2011-11-24 Thread Daniel Gerzo
Hello guys, I am allowing our users to simply click on map and place two markers, based on which we then calculate directions between these two markers. The thing is that I am taking the position of the markers, and sometimes people do not choose an option from the autocomplete menu, so my algorit

Re: [Google Maps API v3] Re: Displaying the directions result

2011-11-08 Thread Daniel Gerzo
n. Is this not supposed to work? - Jeff On Nov 7, 4:47 am, Daniel Gerzo wrote: Hello all, I am having a problem displaying the alternative route from the result of the directions service. My problem is that the directions are being rendered on the map, but it is always the first route (i.

[Google Maps API v3] Displaying the directions result

2011-11-07 Thread Daniel Gerzo
Hello all, I am having a problem displaying the alternative route from the result of the directions service. My problem is that the directions are being rendered on the map, but it is always the first route (i.e. index 0) even though I am setting it to different values through setShortestRoute() (