Hi guys, i have a simple application that generates Lat and Long from the 
point the marker is placed on
application can be seen here:
www.earth-points.com/oldsite/index.html

trying to place the marker over the sea results in an error "point doesn't 
exist on land"
i would like to change that and enable the user to select a point located at 
sea

i am using a SHowAddress function, and i know that's where my issue is with, 
but i need some help in resolving it.

 function showAddress(response) 
    {
      if (!response || response.Status.code != 200) 
      {
       alert("point doesn't exist on land", "Earth-Points");
      } 
      else 
      {
var place = response.Placemark[0];
        var point = new 
GLatLng(place.Point.coordinates[1],place.Point.coordinates[0]);
var marker = new GMarker(point ,{draggable: true});

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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