mouse position + map lon/lat C#
-
does C# have any function or method that I can call to get the lon and lat from some reference I have with regards to the pic and a mouse position. Hope the questions is clear... Thanks Samuel
-
does C# have any function or method that I can call to get the lon and lat from some reference I have with regards to the pic and a mouse position. Hope the questions is clear... Thanks Samuel
-
longitude and latitude
-
does C# have any function or method that I can call to get the lon and lat from some reference I have with regards to the pic and a mouse position. Hope the questions is clear... Thanks Samuel
No, how could it ? It would need to know the starting position and the scale of the image. Even then, not all map images will have steady change of lat/lng. You need to write your own code, based on what you know about the image you're displaying.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
No, how could it ? It would need to know the starting position and the scale of the image. Even then, not all map images will have steady change of lat/lng. You need to write your own code, based on what you know about the image you're displaying.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
man...that is what I thought, its tough
-
man...that is what I thought, its tough
Yeah, it's always nicer to find stuff is supported for you, but in this case, I don't see any way it could take a bitmap and give lat/lng, and it should be pretty easy to work out, just find out the co-ords for the corners of your bitmap and do the math to track the rate of change to the mouse.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )