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 6 of 6

GPS Lat/Lon for my add-in - where is it?

This is a discussion on GPS Lat/Lon for my add-in - where is it? within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am writing a Mappoint add-in (VB6) and would like to know how/where I can capture the current GPS coordiantes ...

  1. #1
    Mel
    Mel is offline Junior Member White Belt
    Join Date
    Aug 2002
    Posts
    7

    GPS Lat/Lon for my add-in - where is it?

    I am writing a Mappoint add-in (VB6) and would like to know how/where I can capture the current GPS coordiantes from Mappoint (when the GPS is being used to navigate). I have looked through the COM objects and can't seem to find the Collection, Method or Property where they are stored or set by mappoint. I noticed that Mappoint will display the current Lat/Lon in a small dialog box when the GPS is hooked up, but I have no clue where it is getting the coords (VIA direct access to the com port?). Any help would be greatly appreciated, I am completely lost on this. Thanks.
    --Mel

  2. #2
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    You might want to get a resource like this book:
    "Visual Basic Programmer's Guide to Serial Communications"
    Here's the author's web site:
    http://www.hardandsoftware.net/

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    The GPS coordinates are not accessible via the programing interface, however, rather than getting involved in GPS sentences and serial port interfaces yourself, it might be worth considering using a ready made plug-in. One of the better ones is available here at http://franson.biz/gpstools. The registration fee is not too bad at $49 and there are no further distribution royalties.

    Roger

  4. #4
    Mel
    Mel is offline Junior Member White Belt
    Join Date
    Aug 2002
    Posts
    7

  5. #5
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Accessing GPS concurrently with MapPoint (or Streets & T

    If I can't get the current GPS location directly from the MapPoint API, can I run a second program that monitors the incoming GPS stream at the same time that MapPoint (or Streets & Trips) is running with GPS tracking? Wouldn't MapPoint have the COM port open, thus blocking access to any other program?

    I spend a lot of time in my car, and I would really like to write an add-in, or background utility that enhances the normal MapPoint GPS tracking experience. For instance, I want to add voice cues, and one-click progress notifications (so I don't have to fumble with mouse and menus while I'm driving), to show me the next couple of directions and how far I have to go, etc.

    Am I going to have to replace MapPoint with my program? I'd really rather just add-on to the mostly perfect app I'm already running!

    Thanks!

  6. #6
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    There are several existing add-ons... try AGPS, MobileGPSOnline, there are others that are not coming to mind right now..

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

Thread Information

Users Browsing this Thread

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

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