title: Google Maps API v3 - Draggable Marker Along a Polyline
body: <p>I am trying to create a draggable marker that is confined to a polyline. I have read <a href="https://stackoverflow.com/questions/10694378/confine-dragging-of-google-maps-v3-marker-to-polyline">this post (Confine dragging of Google Maps V3 Marker to Polyline)</a>, but I do not want to create the points that the marker can move along. Are there other ways to do this without having to create a points array for the marker? If anyone can point me in the right direction, it is much appreciated. </p>