I have a function call in my code that seems to be breaking my site.
Here is the function in it's entirety:

function getMarkers(spots)
{

        for(var i=1; i<=spots.length-1; i++)
        {
                var personArr = spots[i].split("|");

                var name                = personArr[0];
                var person_id   = personArr[1];
                var address_1   = personArr[3];
                var address_2   = personArr[4];
                var city                = personArr[5];
                var state               = personArr[6];
                var zip         = personArr[7];

                var addStr              = address_1 + " " + address_2 + " " + 
city + ", " +
state + "  " + zip;

                if(geoCoder)
                {
                        geoCoder.getLocations(addStr, function(point)
                        {
                                if(!point)
                                { alert(addStr); }
                                else
                                {
                                        alert('here');
                                }
                        });
                }
        }
}

What happens is I get an alert box 25x (expected) then the gray box
where the map should be.  If I comment out the call to this function,
the map comes up with 1 marker that I put on special after this call.

Anyone see anything that I'm missing that's making this function error
out or something??

Thanks

(I'd post a link, but our dev server is not accessible outside of our
internal network)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to