MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




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 2006/2009 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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-30-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 11-30-2002
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,480
Blog Entries: 1
When you say open a map from disk, do you mean you would have a static map image (jpg, gif. bmp) file?
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 12-01-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 12-01-2002
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,480
Blog Entries: 1
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.
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 12-01-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Open map

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

Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 12-04-2002
Junior Member
White Belt
 
Join Date: Dec 2002
Posts: 7
Send a message via ICQ to yelmaci Send a message via MSN to yelmaci
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
delphi, map, mapoint, open


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
microsoft mapoint Anonymous MapPoint 2006/2009 Discussion 1 09-21-2004 07:38 AM
Mapoint feedback Anonymous Wish List 0 06-28-2004 09:12 AM
Mapoint always shows Parking Anonymous MapPoint 2006/2009 Discussion 7 04-19-2004 07:35 AM
Mapoint and web pages petenyce103 MapPoint 2006/2009 Discussion 0 06-18-2003 09:30 AM
Open a map of a special address with Delphi Rita P. MapPoint 2006/2009 Discussion 4 02-10-2003 06:02 PM


All times are GMT -5. The time now is 04:16 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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