[ka-Map-users] Multiple layers

donny wicaks donnywicaks at yahoo.com
Fri Mar 20 16:46:55 EST 2009


hi, Rashad

1. to display the two vectors in one group, you can configure your *.map file
in LAYER section, set GROUP part to be whatever group name you want.
for example, you want to name your group as 'vectors', so:
LAYER
      NAME 'vector1'
      GROUP 'vectors'
.........
.........

and for 'vector2', set in another LAYER section with the same GROUP name:
LAYER

      NAME 'vector2'

      GROUP 'vectors'

.........

.........
then, in ka-map you'll see both vector1 and vector2 are grouped in one GROUP named 'vectors'.

2. to make the status on and off by default, also you can configure it in your *.map file
in LAYER section, set STATUS to be ON or OFF:
LAYER
      STATUS ON (or OFF)
.........


.........
if you set STATUS to ON, then the layer will be directly displayed on ka-map activation

hope it helps...  :)
-donny-



--- On Fri, 3/20/09, Mohammed Rashad <rashadkm at gmail.com> wrote:
From: Mohammed Rashad <rashadkm at gmail.com>
Subject: [ka-Map-users] Multiple layers
To: ka-map-users at lists.maptools.org
Date: Friday, March 20, 2009, 9:58 PM

i have two vector files named vector1 and vector2

how to display both inside a single group and making layer status on and off. the interface should look like this

+--Layers
     ..........
        +--Vector

            +--vector1
             +--vector2
        ........

any help is welcome

_______________________________________________
ka-Map-users mailing list
ka-Map-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/ka-map-users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20090320/6d03dfc9/attachment.htm 


More information about the ka-Map-users mailing list