Can I get Lat/Lng in Windows Mobile on click?

Apr 19, 2010 at 12:14 PM

Hello,


I'm wondering if I can OnClick get something like local coordinates and transform them into LatLng in Mobile app, like in WindowsForms. I'm trying to get placemark from geocoder on click. I know about the FromLocalToLatLng method, but there is no MouseEventArgs passed to the MainMap_Click.

I've made changes to GetPlacemarkFromGeocoderUrl to make it work on win mobile and I'll fork them later =]

Coordinator
Apr 19, 2010 at 1:11 PM

the point is, that mobile has no mouse ;} am, did you tried MouseUp?

Apr 19, 2010 at 7:41 PM

oh god, you're right =] however I'll try your way and I'll do my best to achieve the functionality tomorrow.. I promise :)

Apr 21, 2010 at 7:37 AM

OK, I've achieved the functionality I wanted, I just inherit the GMapControl and override some functions...

Thanks for the tip, anyway!