Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 9 of 9

Location Sensor in MP 2009

This is a discussion on Location Sensor in MP 2009 within the Development forums, part of the MapPoint Desktop Discussion category; My application controls MapPoint via automation and with previous versions it was necessary to turn on the location sensor which ...

  1. #1
    sreschke is offline Junior Member White Belt
    Join Date
    Aug 2008
    Posts
    4

    Location Sensor in MP 2009

    My application controls MapPoint via automation and with previous versions it was necessary to turn on the location sensor which shows Lat/Long. In 2009 lat/long is listed in a status bar area by default but when I open the program in code, the feature shuts off. Does anyone know how to either turn on the lat/long in the status bar or keep it from shutting off?

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: Location Sensor in MP 2009

    Hi,

    a workaround could be to calculate it yourself in the onmousemove evnet?

  3. #3
    sreschke is offline Junior Member White Belt
    Join Date
    Aug 2008
    Posts
    4

    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.

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    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.

  5. #5
    sreschke is offline Junior Member White Belt
    Join Date
    Aug 2008
    Posts
    4

    Re: Location Sensor in MP 2009

    Would it be easiest to write an add-in that has that functionality?

  6. #6
    Auge_Ohr's Avatar
    Auge_Ohr is offline Member Green Belt
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    65

    Re: Location Sensor in MP 2009

    hi,

    i do not know the Answer but while i have the same Problem i like to as :
    Code:
    GetLocation(Latitude As  Double, Longitude As Double, Altitude As Double)
    i can useGetLocation with Parameter to SET. is there a opposite Methode
    for GET Koordinate ?






  7. #7
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: Location Sensor in MP 2009

    Hi,

    Location object has Latitude and Longitude properties starting from MP2006. Was this your question?

  8. #8
    Auge_Ohr's Avatar
    Auge_Ohr is offline Member Green Belt
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    65

    Re: Location Sensor in MP 2009

    hi
    Quote Originally Posted by Wilfried View Post
    Location object has Latitude and Longitude properties starting from MP2006. Was this your question?
    hm MP2006 ... i have the older Version MP2004.

    if i SET a Waypoint from FindAddressResults(),
    how to GET itīs Latitude and Longitude properties ?

  9. #9
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Location Sensor in Map Point 2009
    By lewism in forum MapPoint Desktop Discussion
    Replies: 7
    Last Post: 06-28-2010, 02:14 AM
  2. Adding the location sensor in MapPoint 2009 to the activex control
    By lewism in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 09-26-2008, 08:00 AM
  3. Location Sensor
    By XRoK in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 05-21-2004, 02:45 PM
  4. Location Sensor innacuracy?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-22-2003, 05:44 PM
  5. Is there a way to bring up "Location Sensor" progr....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-15-2001, 04:15 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127