maps - missing lines between markers Google api RRS feed

  • Question

  • User632751675 posted


    I'm not sure this is the correct forum, but I have a basic question about using Google map markers and the lines that connect them.  I first display a map of a given location, then when the user wants to get directions from their address, they fill in the text box and hit enter which then calculates the route and uses the directionsService api.  I have both of the markers( A and B) , but there is no connector or line between the markers.  I thought this would just be drawn by default.  I saw an example where a user had to define polylines to draw a line between markers, but I didn't think I needed to do that.  Can somebody tell me if the lines between the markers needs to be done using polylines?   


    Sunday, July 8, 2018 10:33 PM

All replies