Answer the question
In order to leave comments, you need to log in
Google map. How to draw a road using markers?
Have a nice day everyone. Faced such a problem. There are a bunch of markers for coordinates. We need to pave the way for them. But Google Maps refuses to do so. Actually here is the fiddle ( jsfiddle.net/8uupL0b3/). It's pretty obvious on it. I can not force the map to be drawn by markers.
As it turned out, Google allows you to draw lines only if there are 23 markers (and then only if you use API_KEY) and there are 8 of them in general.
Therefore, in the code I break it (an array of markers) into pieces.
If anyone has come across something like this please let me know. Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question