Hi,

I dont know why my code following always returns status code: 602:

function OpenInfoWindowLATLONG(id, InfoHTML, latitude, longitude)
{
    var marker = markers.getValueById(id);

    var latlong = "(37.44120072, -122.133808135)";

    if(marker!=null)
    {
        geocoder.getLocations(latlong, function(addresses) {
            alert('Addresses '+addresses.Status.code);
            if(addresses.Status.code != 200) {
                alert('NO! :('+latlong);
            }
            else
            {
                inforHTML+='<br>Address: '+
addresses.Placemark[0].address;
            }
        });

        marker.openInfoWindowHtml(InfoHTML);
    }
    ///else
        //alert('No Marker was found ;) ');
}

Did I miss something?

I made it the same like here: 
http://gmaps-samples.googlecode.com/svn/trunk/geocoder/reverse.html

Please help me. THanks.
--~--~---------~--~----~------------~-------~--~----~
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