Esa,

Yes, thank you. Part of the problem was that I was trying to use
lat+lng already combined in my if(). But I also did not know about
isNaN() .

Brian

On Nov 8, 5:15 pm, Esa <[EMAIL PROTECTED]> wrote:
> You can validate lat and lng by isNaN()
>
> if(!isNaN(lat+lng)){
>   point = new GLatLng(lat,lng);
>
> }else{
>   //something else
> }
--~--~---------~--~----~------------~-------~--~----~
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