It's often pretty useless posting a code snippet.  For one example -
> ...
> alert(obj.cheked)
>
> if(obj.checked){
Is that a typo in your code or in your posting??
For another example, we've no idea what objects and functions of yours
may or may not be in global scope.
Best all round to give a link to your example page.

> The other question is about getting the latitude and longitude of one
> point in the map. I just want to click the map and assign the latitude
> to variable and the longitude to another variable. I've tried using
> the function .getLatLng() without success.

Try searching this group.  A recent post -
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/67ae4b4f74ce336d/d3b5378d472b7727?lnk=gst&q=lat+lon+click#d3b5378d472b7727

cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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