Proper way to get the radius

المشرف العام

Administrator
طاقم الإدارة
I am using GMaps.Net and in the mouse events I can get the lat/lngs. On the mouseDown I get the center point. On the mouseUp I get the lat/lng for what will be the radius measurement. Currently I am do this:

radius = (_gmap.FromLocalToLatLng(e.X, e.Y).Lat - centerPoint.Lat) * 2It is close, but no correct. What would be the correct calculations for this? Thanks



أكثر...
 
أعلى