How to hang callback constraining routes from Google Maps?

Hi all.

I believe that the rendering of ranting at Google maps asynchronously, so was faced with the following problem: if the fast clear of ranting, and then to draw, then there is chaos. Draw those ranting which to draw from in the js condition is not necessary and Vice versa, and without any logic. Solve this problem a sequence of asynchronous renderings of the routes, but I don't understand how to hang the callback on new google.maps.Polyline(). Maybe someone knows or knows how to build a chain of asynchronous renderings from Google maps? Thank you!
June 8th 19 at 17:05
0 answer

Find more questions by tags JavaScriptGoogle Maps