In DemoStuff.cs , how do I get lat, lon of screen edges

Topics: General, Windows Forms
Jan 28, 2013 at 4:15 AM
Edited Jan 28, 2013 at 4:16 AM

Hi,

I am making a new overlay similar to

thanks,

GetVilniusTransportData()

Inside that function, how do I get the current lat,lon of the edges of the entire screen?

I am new to c# and I can't quite figure it out.

 

cellurl 

 

Jan 28, 2013 at 11:31 AM

get min/max values

Jan 28, 2013 at 2:34 PM

I don't understand.

Jan 28, 2013 at 2:40 PM

do you mean map.ViewArea ?

Feb 18, 2013 at 4:08 AM
I am in a function like this one:

DemoStuff.cs:
  public static void GetFlightRadarData(List<FlightRadarData> ret, PointLatLng location, int zoom, bool resetSession)
Inside a function like that, how would I get the map view corners?

I could estimate it using ZOOM somehow, but I think I am missing something easy...

Thanks!
jim
Feb 18, 2013 at 11:30 AM
just find min/max coordinates, why do you need that, it's probably whole planet anyway ;}