Thank you very much.  I commented out a listener

      GEvent.addListener(map,"click", function(overlay,point) {
          var lastLatLong = map.getCenter();
          map.setCenter(point);
          var newCenter = map.getCenter();
          var distance = newCenter.distanceFrom(lastLatLong) *
1.0936133 ; //meters -> yards
          map.setCenter(lastLatLong);
          var myHtml = "<br/>The GPoint value is: " +
map.fromLatLngToDivPixel(point) + " at zoom level " + map.getZoom() +
                       "<br/>Center: " + map.getCenter() +
                       "<br/>Yards from last loc " + distance;
          //map.openInfoWindow(point, myHtml);
      });

And that seemed to do the trick.  Turns out this was a legacy I didn't
need, so I didn't really dig into the cause.

If you feel like satisfying your curiousity, you can go to
www.tiemposystems.com/gmaps3.html (once there,click new marker, which
causes a marker to display, then click the marker).

Thanks again.
--~--~---------~--~----~------------~-------~--~----~
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