View Single Post

  #6 (permalink)  
Old 12-04-2002
yelmaci yelmaci is offline
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.
Reply With Quote