[Cartoweb-users] switch
Oliver Christen
oliver.christen at camptocamp.com
Mon Nov 19 10:25:51 EST 2007
Hi
well, an easy way to get a switch by default is to simply duplicate the
switch you want by default and name it "default" in layers.ini
the "default" option seems to be hardcoded in function drawSwitches() in
file ClientLayers.php, maybe you can touch up things there by extending
ClientLayers and overriding drawSwitches()
regards
Oliver
Ok, I'm sorry.
in layers.ini I have defined switch:
switches.regulativy.label = Reg
switches.kompexny.label = Kompl
then is there dropdown menu in Themes where I can choose "Default" "Reg"
or "Kompl".
But I'd like to omit the "Default" in this menu.
I want see only "Reg" and "Kompl"
And "Reg" should by displayed at the client startup.
I have two mapsets with different layers in one project and I need see
one OR second mapset.
I don't wont to use two projects.
-w-
Oliver Christen wrote / napísal(a):
> Hi
>
> I have absolutly no idea what you are talking about.
>
> maybe add a few sentence to explain the context ?
>
> regards
> Oliver
>
>
>> Hi,
>> I need switch.
>>
>> switches.regulativy.label = Reg
>> switches.kompexny.label = Kompl
>>
>> But I'd like to hide "Default" option.
>>
>> I need only this two options in combobox and option "Reg" should be
>> displayed at startup. Is it possible please?
>> How to set it up?
>>
>> Thanx
>>
>> wochter
>>
>>
>> _______________________________________________
>> Cartoweb-users mailing list
>> Cartoweb-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>
>
More information about the Cartoweb-users
mailing list