ZachPhillipsGary / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
Apache License 2.0
0 stars 0 forks source link

Code issue in documentation #175

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Demo link or sample code:

URL: 
http://google-maps-utility-library-v3.googlecode.com/svn/tags/routeboxer/1.0/doc
s/examples.html

See this block of javascript:

for (var i = 0; i < boxes.length; i++) {      
   var bounds = box[i];      // Perform search over this bounds     
}

What steps will reproduce the problem?
Try the example code, this will give javascript error.

Expected result:

In the code fragment about "box[i]" should be changed to "boxes[i]"

Actual result:
If any one uses the code as is, they will get javascript error - "box is 
undefined".

Version: ###

Browser / Operating System:
All

Additional comments:
[Enter any additional comments about the bug here.]

*********************************************************
Tip: Star this issue (next to title) to receive notifications of status
changes against this issue, also used as a gauge for how many people are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by vij...@gmail.com on 8 May 2012 at 8:54