Hello dear reader
I am trying to make a tool to calculate the length of a line the user draws on the map but get this error
__Error 1 Overload resolution failed because no accessible 'ProjToPixel' can be called with these arguments:
How do I convert the coordinates in my array to a coordinate for my mapwindow?
I am trying to make a tool to calculate the length of a line the user draws on the map but get this error
__Error 1 Overload resolution failed because no accessible 'ProjToPixel' can be called with these arguments:
'Public Function ProjToPixel(env As DotSpatial.Data.Extent) As System.Drawing.Rectangle': Value of type 'Double' cannot be converted to 'DotSpatial.Data.Extent'.
'Public Function ProjToPixel(location As DotSpatial.Topology.Coordinate) As System.Drawing.Point': Value of type 'Double' cannot be converted to 'DotSpatial.Topology.Coordinate'. D:\C__VISUAL STUDIO\DMC Swing Swung\Form1.vb 1746 30 DMC SWUNG viewer 1.0__
And it happends at this line of codeHow do I convert the coordinates in my array to a coordinate for my mapwindow?
Xstart = myVenster.ProjToPixel(LineaalPuntenLijst(lin).LineaalX)
I make a class of points, where the X and Y of each point is a double...