MapPoint 2009 Automation v3

AdministratorAdministrator Member, Moderator, Administrator Posts: 2,500
edited 2009-09-16 in Download section
MapPoint Automation
Example of automation between MBS-Navision and MS MapPoint 2002.

http://www.mibuso.com/dlinfo.asp?FileID=206

Discuss this download here.

Comments

  • AnonymousAnonymous Guest Posts: 137
    I have been waiting for this for sometime now. Thank you VERY VERY much.
  • mc2000mc2000 Member Posts: 2
    :) Great example. Does anyone know how to do this in Axapta?
  • AdministratorAdministrator Member, Moderator, Administrator Posts: 2,500
    MapPoint 2004 Automation
    Example of automation between MBS-Navision and MS MapPoint 2004.
    This code adds 2 menu's to the Customer card:
    - Show address on map
    - Show route on map

    This version contains a MapPoint 2002 & a MapPoint 2004 Codeunit.

    http://www.mibuso.com/dlinfo.asp?FileID=206

    Discuss this download here.
  • HalMdyHalMdy Member Posts: 429
    :D Great job !!! =D>

    Some additionals :

    - any idea of how to retrieve in Navision some informations like travel time and travel km ?

    - Could we also define steps ("étapes" in my french version of MapPoint) ?
  • AdministratorAdministrator Member, Moderator, Administrator Posts: 2,500
    MapPoint Automation v2.01
    Example of automation between MBS-Navision and MS MapPoint 2004.
    This code adds 2 menu's to the Customer card:
    - Show address on map
    - Show route on map
    Additionally, the menu "Show route on map" is also added to the Customer List form. A route can be calculated for different customers that are selected.

    Version 2.01:
    Add a way to calculate route between multiple addresses

    Version 2.0:
    This version contains a MapPoint 2002 & a MapPoint 2004 Codeunit.

    http://www.mibuso.com/dlinfo.asp?FileID=206

    Discuss this download here.
  • eromeineromein Member Posts: 589
    Haven't seen it yet.... but sounds like a brilliant piece of software...

    Great job!
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • HalMdyHalMdy Member Posts: 429
    Fast answer , Luc !!! THX THX THX

    It's fantastic : with that we could generate Do-to list with optimization of the travel in the Service Mgt !

    =D> =D> =D>
  • chris_johnsonchris_johnson Member Posts: 22
    This seems to work with 2006 as well (the 2004 automation anyways)! This is without even changing the object library automation variables over to the new ones.

    I love it when a plan comes together.
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    I love it when a plan comes together.
    You are a man with a plan ;-)
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • armela20armela20 Member Posts: 71
    HI there.
    I imported your object however I get an automation error when I access the Map Menu Items added.
    "Could not create an instance of the OLE control or Automation server".
    I tried to download the MapPoint 2004 Trial software and was not sucessfull because that is not available any longer and I guess I have to order the 2006 Trial software.
    Does anyone have any idea how to get this to work ??

    THanks
    Armela
  • itinkiamitinkiam Member Posts: 37
    Great work!!!!!

    I see that someone else asked this question, but I don't see the answer.

    Is there a method to retreive the miles and time estimate from Mappoint?

    I need the mileage and estimated drive time for Service Management quoting.
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    It should be possible to get the distance back from MapPoint.

    You can try to add the following line in Codeunit 50000 or 50001 after autMapPointRoute.Calculate:
    MESSAGE('The route distance is: ' + FORMAT(autMapPointRoute.Distance));
    
    I have not tested it, but found this Distance-property in a MapPoint newsgroup.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • itinkiamitinkiam Member Posts: 37
    This is absolutely GREAT! Your suggestion for distance worked with no changes.
  • IanMIanM Member Posts: 6
    This is just what I've been looking for! Brilliant!

    I have one question, would it be possible to open an existing mappoint database with the "Show Address On Map" function?

    Many Thanks
  • IanMIanM Member Posts: 6
    I did it by changing the default MapPoint .ptt file
  • AdministratorAdministrator Member, Moderator, Administrator Posts: 2,500
    MapPoint 2009 Automation v3
    Example of automation between Dynamics NAV and MS MapPoint 2009.
    This code adds a menu "MapPoint" to the Customer card, with the items
    - Show address on map
    - Show route on map
    - Get driving directions

    Additionally, the menu "MapPoint" is also added to the Customer List form, with the items:
    - Show route on map
    - Show route on map (optimized)
    - Get optimized route order
    - Get driving directions

    A route can be calculated for different customers that are selected.

    Version 3:
    - Adds support for MapPoint 2009
    - Add a way to calculate optimized route between multiple addresses
    - Add a way to retrieve the optimized route, without displaying map
    - Add a way to retrieve the driving directions, without displaying map

    Version 2.01:
    Add a way to calculate route between multiple addresses

    Version 2.0:
    This version contains a MapPoint 2002 & a MapPoint 2004 Codeunit.

    http://www.mibuso.com/dlinfo.asp?FileID=206

    Discuss this download here.
  • wirowiro Member Posts: 92
    Hi all.

    Any of you that have experience with plantation company? With GIS technology? How to integrate between Navision and Map to get information such as planted area, non planted area, plants territories, etc? And how to integrate with those GPS?
Sign In or Register to comment.