Call GE link too/export to Google Earth via another MapBasic program?

121 views
Skip to first unread message

Alan Carr

unread,
May 16, 2013, 8:26:22 AM5/16/13
to mapi...@googlegroups.com
Hi Guys,

I was wondering if it is possible to call the "Export to Google Earth" function of the GE Link tool using MapBasic?

Thanks,
Alan

Peter Horsbøll Møller

unread,
May 16, 2013, 9:26:30 AM5/16/13
to mapi...@googlegroups.com
Alan

You can find the source code for the GE Link tool in the samples folder in your MapBasic installation folder:
...Samples\DOTNET\GoogleConnect

Peter Horsbøll Møller
Pitney Bowes Software



Date: Thu, 16 May 2013 05:26:22 -0700
From: alanjc...@gmail.com
To: mapi...@googlegroups.com
Subject: [MI-L] Call GE link too/export to Google Earth via another MapBasic program?

Alan Carr

unread,
May 16, 2013, 10:02:08 AM5/16/13
to mapi...@googlegroups.com
Thanks, I'm having trouble compiling it. I've copied all the relative .defs and the code into a new folder, compilation is apparently sucessful but it makes an .mbo not and .mbx, 

"For example, in an *.mb file, there is a call to a sub routine that isn't declared in this *.mb file. When this *.mb is compiled, an *.mbo file will be created."

I'm stumped!

Peter Horsbøll Møller

unread,
May 17, 2013, 2:13:42 AM5/17/13
to mapi...@googlegroups.com
That's because it uses a MapBasic project to link the various modules (mbo) into a single application (mbx)

You should in the folder also see a file of type *.mbp.
Use File > Link Project to link the project using this file.
Do check the paths in the MapBasic project before linking

Peter Horsbøll Møller
Pitney Bowes Software



Date: Thu, 16 May 2013 07:02:08 -0700
From: alanjc...@gmail.com
To: mapi...@googlegroups.com
Subject: [MI-L] Re: Call GE link too/export to Google Earth via another MapBasic program?
Reply all
Reply to author
Forward
0 new messages