|
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. |