[Cartoweb-users] Apply Changes.

Νίκος Παπαδάκης nipapada at gmail.com
Thu Sep 4 11:05:01 EDT 2008


Well.This is what i did and worked...!
When i define a LayerGroup ,i write it's children's definitions right 
after it.
For example. 

layers.banks.className=LayerGroup
layers.banks.children=bank_store, bank_ATM
layers.banks.rendering=tree
layers.banks.label=BANKS

layers.bank_store.className=Layer
layers.bank_store.label=Bank_Stores
layers.bank_store.mslayer=bank_store

layers.bank_ATM.className=Layer
layers.bank_ATM.label=ATM
layers.bank_ATM.mslayer=bank_ATM

layers.kiosk.className=Layer
layers.kiosk.label=Kiosks
layers.kiosk.mslayer=kiosk

layers.car.className=LayerGroup
layers.car.children=gas_stations, parking
layers.car.rendering=tree
layers.car.label=CAR_Stuff

layers.gas_stations.className=Layer
layers.gas_stations.label=Gas_Stations
layers.gas_stations.mslayer=gas_stations

layers.parking.className=Layer
layers.parking.label=Parkings
layers.parking.mslayer=parking

*AND NOT!

*layers.banks.className=LayerGroup
layers.banks.children=bank_store, bank_ATM
layers.banks.rendering=tree
layers.banks.label=BANKS

layers.kiosk.className=Layer
layers.kiosk.label=Kiosks
layers.kiosk.mslayer=kiosk

layers.car.className=LayerGroup
layers.car.children=gas_stations, parking
layers.car.rendering=tree
layers.car.label=CAR_Stuff

layers.bank_store.className=Layer
layers.bank_store.label=Bank_Stores
layers.bank_store.mslayer=bank_store

layers.bank_ATM.className=Layer
layers.bank_ATM.label=ATM
layers.bank_ATM.mslayer=bank_ATM

layers.gas_stations.className=Layer
layers.gas_stations.label=Gas_Stations
layers.gas_stations.mslayer=gas_stations

layers.parking.className=Layer
layers.parking.label=Parkings
layers.parking.mslayer=parking*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080904/e29017a7/attachment-0001.html


More information about the Cartoweb-users mailing list