M
M
m4a1fox2015-12-10 16:49:28
Google
m4a1fox, 2015-12-10 16:49:28

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

1 answer(s)
F
freeExec, 2015-12-11
@freeExec

It can assemble a full-fledged GPX from points and show it, for example, as gpsvisualizer.com does

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question