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

How do you open a mapoint map in delphi?

This is a discussion on How do you open a mapoint map in delphi? within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have successfully got Mappoint into my delphi application by the use of a olecontainer, what I would like to ...

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

    How do you open a mapoint map in delphi?

    I have successfully got Mappoint into my delphi application by the use of a olecontainer, what I would like to do is open a mappoint map from disk. Is this possible?

  2. #2
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    When you say open a map from disk, do you mean you would have a static map image (jpg, gif. bmp) file?
    ~ 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

    Open a map

    I have opened a map in Mappoint and added some shapes etc and have saved this as a .PMT file.

    I now want to open this map in my delphi application so that the delphi application can plot pushpins etc.

    Cheers

    Mike

  4. #4
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    I don't know much about Delphi, but see this method in the Help File:

    OpenMap method (Application)
    Opens an existing map. Displays the Save dialog box if another map is currently active and has not been saved. This method is not available when MapPoint is embedded.
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

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

    Open map

    My Map is embedded in my delphi form so I do not think I can do it that way?

    Mike

  6. #6
    yelmaci is offline Junior Member White Belt
    Join Date
    Dec 2002
    Posts
    7
    you can do it.

    first, you must install the mappoint activex to delphi's component palet. you can use import type library of the project menu.

    then you have to select map object of mappoint from this component palet.

    in the formcreate method of the form, :

    map1.application.visible:=true;

    thus, there will be opened mappoint application.


    you can play with this opened applciation. for instance :


    map1.addpushpin(loc1,'blah blah');

    or

    map1.zoomin;


    enjoy.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. microsoft mapoint
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-21-2004, 06:38 AM
  2. Mapoint feedback
    By Anonymous in forum Wish List
    Replies: 0
    Last Post: 06-28-2004, 08:12 AM
  3. Mapoint always shows Parking
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 7
    Last Post: 04-19-2004, 06:35 AM
  4. Mapoint and web pages
    By petenyce103 in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 06-18-2003, 08:30 AM
  5. Open a map of a special address with Delphi
    By Rita P. in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 02-10-2003, 05:02 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