How to refine switching feature so that e.g. when first clicked roadline button then drawing polyline along route, next when changed option to continue line by normal polyline, when back to the first option and click on map route started at last point from normal polyline to event latlng and and so on vice versa. Now works only after switching from normal poly to driving mode and only one time. I can't set back on map from array renders. I wanted to have array objects with polys and roads but my attemps failed. Other issue is when selected drop marker mode drop it and back to e.g normal polyline should be continue drawing the same line and the same with route poly. This last question has been partially solved, but is complicated if I add more lines. I trying to do this functionality now for over week but I give up.
Example might explain the problem: http://jsfiddle.net/bartek/dk98c/ Here I think is more professionals are enter. This question was also posted on: http://stackoverflow.com/questions/10297120/how-to-make-visually-one-line-formed-from-different-kind-of-polylines-google-dir -- 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 google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.