473,396 Members | 1,777 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Mappoint 2004 - get Longitude and Latitude values

Hello,

I'm currently trying to programm a Windows Application that
embedds a MapPointControl.

My question is, how I can retrieve the Longitude and
Latitude from a spot on the map, e.g. the Mouse position.

Unfortunately the Location Object does contain these
values but I couldn't find a way to retrieve these values.

Any suggestions?

greets

Jochen
Nov 15 '05 #1
1 2368
> I'm currently trying to program a Windows Application that
embeds a MapPointControl.

My question is, how I can retrieve the Longitude and
Latitude from a spot on the map, e.g. the Mouse position.

Unfortunately the Location Object does contain these
values but I couldn't find a way to retrieve these values.

Any suggestions?


Jochen,

Take a look at this article, with a little trig you can retrieve the
lat/lon:
http://www.mp2kmag.com/a13-extract.l....mappoint.html
You will find a port of the code to C# in the discussion area for the
article:
http://www.mp2kmag.com/mappoint/disc...pic.asp?t=3291

If you're programming with MapPoint, there's a lot on the site you
will find of value, but little of it is ported to C# yet..

Eric
Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bill McAlister | last post by:
Hello all, I am trying to put together a desktop application that (among other things) the latitude and longitude of an address entered into a form. I am successfully using the MapPoint...
0
by: Bill McAlister | last post by:
Hello all, I am trying to put together a desktop application that (among other things) the latitude and longitude of an address entered into a form. I am successfully using the MapPoint...
7
by: Kath | last post by:
Hi, I hope this is the most relevant newsgroup for this post. I have a VB.NET app that uses the MapPoint component, and in my app I use pushpins to display/retrieve GPS locations....
5
by: arial | last post by:
Hi all, I have a sql .bak file which i need to convert into xml file. can someone help with this? pointing out to some tutorial or some suggetion on how to start? Thak you,
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.