sounds if you just move

    pointy = (latlng.y);
    if (pointy > 49.2179){
        alert ("OK");
        }

inside your if statement all will works fine



On Fri, Mar 5, 2010 at 5:07 PM, MapsRus <[email protected]> wrote:

> I get an error when I close the info window on my map because the
> latlng object is null as I clicked on the X, not directly on the map.
> Is this the way the click event should be handled?
>
> Thanks in advance,
>
> M
>
> Sample code:
>
> http://www.laudontech.com/temp/getaddress2.html
>
> --
> 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]<google-maps-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api?hl=en.
>
>

-- 
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