Where(which object) load the all layser and set the layersMentu inital menu itmes according with the properties file ("open.layers" ) when the OpenMap startup?
Best Regards
calvin xie
WebGIS Development Team
ShenZhen Y&D Electronics Co.,Ltd
Tel:0755-26727593
FAX:0755-26727593
http://www.s-ec.com
Email:xiexz@s-ec.com
----- Original Message -----
From: <avasile@csc.com.au>
To: <openmap-users-digest@bbn.com>
Sent: Tuesday, July 15, 2003 3:59 PM
Subject: [OpenMap Users] Getting dynamic layers displayed.
> If I manually construct the properties file and manage my own list of
> properties I can get a map layer to appear based on some level 1 DTED
> layer to appear and some basic graphics symbols to appear.
>
> If I try to use a properties file from the PropertyHandler class I can't
> get the map to appear even though the I believe I have copied all the same
> parameters from my hard coded version to my openmap.properties file.
>
> I have set the following layers fields
>
> layers=jdted vehicles graphics
> openmap.startUpLayers=jdted vehicles graphics
> openmap.layers=jdted vehicles graphics
>
> vehicles and graphics are two layers that I have written. Also I create
> currently these layers in the class that handles the MapBean. I do this so
> I can call methods on these layer classes. Is there anyway to get a handle
> on this layer if I set the parameters for these layers from within the
> openmap.properties file?
>
> Basically what I'm trying to do is optionally have a map layer because we
> haven't decided what data format we going to specifiy the map in. I've have
> access to some dted level 1 data for the area of interest.
>
> Any help would be most appreciated.
>
> Yours
> Tony Vasile
> __________________________________________________
> CSC Australia
> Cnr Nicholson & Oxley Streets, St Leonards NSW 2065
> Ph: +61-2-9901-1536 Fax: +61-2-9901-1178 Email: avasile@csc.com.au
> ----------------------------------------------------------------------------------------
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
> ----------------------------------------------------------------------------------------
>
>
>
>
> --
> [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 Jul 16 05:02:09 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT