Re: Google map polyline highlight

2009-07-13 Thread Mike Williams
Listen for the GDirections "load" event, then: grab the route polyline with var poly = gdir.getPolyline(); Find the start vertex of the step you are interested in: var v1 = gdir.getStep(i).getPolylineIndex() Find the start vertex of the following step var v2 = gdir.getStep(i+1).getPoly

Google map polyline highlight

2009-07-12 Thread Subu
Hi I am trying to basically create a route given a set of legs so my route spans [" from: -33.918755 , 151.226293 to: -33.901500 , 151.214972 to: -33.883360 , 151.194047 to: -33.918755 , 151.226293"] and the leg I want say is from: -33.901500 , 151.214972 to: -33.883360 , 151.194047 I want to hi