Referencing the API v3 example at...
http://code.google.com/apis/maps/documentation/javascript/overlays.html#ComplexIcons
Beaches is an array. However, when using the array values for LatLng
etc. the example is...
for (var i = 0; i < locations.length; i++) {
var beach = locations[i];
...
I am missing something here and would appreciate an explanation. Why
is the increment not
for (var i = 0; i < beaches.length; i++) {
var beach = beaches[i];
...
locations is never declared as an array. Is it implied or a reserved
word or something? Could not find in the docs.
Thanks a bunch.
Van
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.