Community of VE/MapPoint Users and Developers
This is a discussion on Location Sensor in MP 2009 within the Development forums, part of the MapPoint 2006/2009 Discussion category; My application controls MapPoint via automation and with previous versions it was necessary to turn on the location sensor which ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Location Sensor in MP 2009 |
| |||
| Re: Location Sensor in MP 2009
Hi, a workaround could be to calculate it yourself in the onmousemove evnet?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: Location Sensor in MP 2009
I have seen the Location sensor application article but I was hoping for something simple. It seems like the feature should work whether the application is controlled remotely or opened manually. I just haven't found where to turn it back on in 2009. |
| |||
| Re: Location Sensor in MP 2009
Hi, I did a quick look in MP2009 and I cannot find it also. But to make it yourself is really a very small job.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: Location Sensor in MP 2009
Hi, Location object has Latitude and Longitude properties starting from MP2006. Was this your question?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| ||||
| Re: Location Sensor in MP 2009
hi Quote:
if i SET a Waypoint from FindAddressResults(), how to GET itīs Latitude and Longitude properties ? |
| ||||
| Re: Location Sensor in MP 2009
The longitude and latitude properties are only set in MP2004 (and earlier) if the location object was created using coordinates. The workaround is to use the CalcPos function written by Gilles Kohl. Search this site / mp2kmag.com for "CalcPos()". It uses a bit of trigonometry to derive the coordinate from the distance between the Location and known places such as the North Pole. Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009 |
![]() |
| Tags |
| 2009, location, sensor |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding the location sensor in MapPoint 2009 to the activex control | lewism | MapPoint 2006/2009 Discussion | 5 | 09-26-2008 09:00 AM |
| Location Sensor in Map Point 2009 | lewism | MapPoint 2006/2009 Discussion | 5 | 09-17-2008 07:56 PM |
| Location Sensor | XRoK | MapPoint 2006/2009 Discussion | 3 | 05-21-2004 03:45 PM |
| Location Sensor innacuracy? | Anonymous | MapPoint 2006/2009 Discussion | 2 | 05-22-2003 06:44 PM |
| Is there a way to bring up "Location Sensor" progr.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 11-15-2001 05:15 PM |