Closed rorykoehler closed 8 years ago
Hi, I looked at your issue and did a jsbin to test: http://jsbin.com/miguqo/1/edit?js,output
The point was to respect the signature of addPolyline
: fn([{ lat:, lng }], options)
Hope it helps
Ok, great to know. Thanks for your time and help.
I have the following code where I take the Google encoded polyline algorithm format string and decode it into an array for use with the addPolyline function. Adding it to the map with
bounds.extendWith()
causes multiple 'Uncaught RangeError: Maximum call stack size exceeded' errors. Am I doing this right or is there another step I'm missing?My code is: