Adding Lat/Long to local point

Feb 5, 2009 at 11:14 AM
Hello radioman,

Could you add a public function returning the local x/y from a lat/lng point taking into account the renderOffset. Actually, the opposite of FromLocalToLatLong, something like


public Point FromLatLngToLocal(PointLatLng latlng)
Point pLocal = GMaps.Instance.FromLatLngToPixel(latlng, this.Zoom);
return pLocal;


It would allow me to use the drawingContext to draw shapes without "hacking" your code.

Feb 5, 2009 at 1:12 PM