Isn't that funny, I spent this morning surfing for ways to integrate
an OpenMap into a Visual C++ app.
I didn't come up with much. Two options that I am considering are
1. use an IE as Active X control and show OpenMap applet inside
2. use Adobe's SVGA Active X viewer, some XSL stylesheets that
convert GML to SVGA, and Castor to turn OpenMapinto a GML
server.
I don't like either option. Given that they both basically use the
same approach (an Active X control that must be installed on the
client), I'll probabaly pursue the first option to see how far I get.
Here are some links I found about turning a Java object into a COM
object. I got scared off by the prospect of DLL/SDK/VM hell on
the client. If you have tight control of the client configuration,
that might be the way to go.
http://www.javaworld.com/javaworld/javatips/jw-javatip17_p.html
http://www.idevresource.com/com/library/articles/javacom.asp
http://www.microsoft.com/java/resource/java_com.htm
I guess another possible solution is to have openmap generate an
image, and create a v++ control that emulates an image map. That
removes the complexity from the client, but limits functionality.
-- Mark Bucciarelli Peregrine Systems, Inc. R&D, Boston (413) 253-0020 mbucciarelli@peregrine.com Yahoo: m_bucciarelli http://www.peregrine.com > -----Original Message----- > From: John Mairs [mailto:mairsj@oso.nrl.navy.mil] > Sent: Friday, June 08, 2001 10:36 AM > To: openmap-users@bbn.com > Subject: OpenMap, JNI, and C++ > > > Hi Folks, > > I have a requirement to add digital maps (CADRG format) to a C++ > application. Although the app is developed using Microsoft > DevStudio 6.0 we > DO NOT use any MFC or WIN32 calls. Were using a 3rd party > graphical library > by RogueWave called zApp. Unfortuneately zApp is no longer > supported. zApp > only knows a few primitives: lines, points, bitmaps. We are > also using a > GIS called Hipparchus by geoddyssey.com. Hipparchus does not > know about > maps per say but it knows all about projections, locations, etc. We > actually wrote the code to display all the lines making up political > boundaries, rivers, etc for our map display. We used NIMA's > vmap lvl-0. > > Enter digital maps. Seems like I have a couple of options: > > 1. Try and find C++ code to display digital Compressed ARC > Digitized Raster > Graphics and add it to our other code that knows how to draw things. > > 2. Swap out Hipparchus and zApp and use something like ESRI's > Map Objects. > > 3. Swap out Hipparchus and zApp and try and use JNI to > communicate between > C++ objects and OpenMap. Or use JNI to just use the CADRG classes. > > I'm going out tonight to buy "The JAVA Native Interface" by > Shen Liang. > I've only taken a couple of JAVA courses so this outta be some fun. > > Any success or failure stories about "linking" OpenMap to an already > established C++ application? > > Thanks, > > John Mairs > > (703) 808-6788 > > > p.s. I previously sent this to openmap@bbn.com > > > > ********************************************************************** > This email and any files transmitted with it are Private and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept by > MIMEsweeper for the presence of computer viruses. > > ********************************************************************** > > -- > [To unsubscribe to this list send an email to "majdart@bbn.com" > with the following text in the BODY of the message > "unsubscribe openmap-users"] > -- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Fri Jun 8 10:55:14 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT