On Apr 19, 6:20 am, g33kmate <[email protected]> wrote: > Hi everyone, > I am trying to make a transit route map for my city but running into > some trouble. I am fetching the lat long coordinates for markers that > indicate all the stops a bus takes before reaching its destination from > a MySQL database and that works fine for the code below: > > > Now I would like to draw a polyline that will connect the markers using > the coordinates from the database. I totally have no idea how to go > about that, could someone please help me with that,
Did you try the documentation? http://code.google.com/apis/maps/documentation/javascript/overlays.html#Polylines > with pointers of maybe what to change/add in my code? There are examples there. Although I would guess you would want the polylines to follow the road, in which case you might want to look at the directions service: http://code.google.com/apis/maps/documentation/javascript/services.html#Directions -- Larry > Thanks so much for any help :) -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
