Is there a way to highlight a specified road or street using Google Maps API V3?
Here is an example of what I am trying to get (image from searching a place in google): example
Styled maps does not do what I want since it will apply to all roads. Polylines is an option but finding the coordinates can be a bit of a pain since they are not always complete.
Thanks.
Use the Draw a Line tool (under the search bar, looks a bit like a share-icon), to draw either just a line, or a driving, walking or biking route. Note that your map can have one or more lines in it. Finish off each line by double-clicking on the final point.
You can trace a path or highlight an area on your map by drawing lines and shapes.
It has already been discussed and I'm afraid you'll have to use polylines.
This might be useful though : Highlighting whole street with some maps API
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With