Hi Team,
We need to get distance from Map center to viewing window(Zoom in/out or move on mouse) like google map NorthWest() fun?
How we acheive from thinkgeo openstreet map in winform?
Regards,
Tamilarasan.
Hi Team,
We need to get distance from Map center to viewing window(Zoom in/out or move on mouse) like google map NorthWest() fun?
How we acheive from thinkgeo openstreet map in winform?
Regards,
Tamilarasan.
Hi Tamilarasan,
I think this function is what you want:
map.CurrentExtent.UpperLeftPoint.GetDistanceTo(map.CurrentExtent.GetCenterPoint(), GeographyUnit.Meter, DistanceUnit.Meter)
Wish that’s helpful.
Regards,
Ethan