AnuragAgrawal11 / gmaps-samples-v3

Automatically exported from code.google.com/p/gmaps-samples-v3
0 stars 0 forks source link

DrawingTools: Maximum call stack size exceeded #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to 
http://gmaps-samples-v3.googlecode.com/svn-history/r282/trunk/drawing/drawing-to
ols.html
2. Draw a polygon 
3. When you finished you get the error "Uncaught RangeError: Maximum call stack 
size exceeded"

What is the expected output? What do you see instead?
Polygon never completes

What version of the product are you using? On what operating system?
chrome 39.0.2171.71 m

Please provide any additional information below.

I find out that when you call drawingManager.setDrawingMode(null) it fires the 
overlaycomplete and polygoncomplete events and this cause a endless loop.

Original issue reported on code.google.com by adriano....@gmail.com on 20 Jan 2015 at 6:41

GoogleCodeExporter commented 8 years ago
Nevermind I think it was a problem on maps api, it´s working now.

Original comment by adriano....@gmail.com on 22 Jan 2015 at 5:46