First check that coordinates are numbers by isNaN(). Then check that latitude is between -85...+85 and longitude between -180...+180.
It might be better idea to let users to place their markers on map rather than enter coordinates. At least you should provide a map preview for your users for checking their input. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
