Hi James,
There are a couple of steps to follow.
First, you need to wrap the data files in a jar file.
Second, you need to add the jar file to the applet html web page so the
applet knows to grab it. The jar will be added to the classpath for
the applet in this way.
Third, you set the paths to the files as relative paths, from the root
directory inside the jar file. For instance, if the data file is in
the top level directory in the jar, you just list the file.
Hope this helps,
-Don
On Mar 31, 2004, at 1:50 PM, h0004429@eee.hku.hk wrote:
> Dear all,
> I am using OMApplet for my project and I have read that it is possible
> to put
> those map file like .shp into the openmap.jar file for the client to
> access the
> file locally and hence enhance the loading time.
> I would like to know how I can implement it and can anyone tell me
> more about
> that ?
>
> Yours sincerely,
> James
> --
> [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 Wed Mar 31 17:26:51 2004
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT