[OpenLayers-Users] Layerswitcher, how to hide overlay checkbox for a layer?

Dmitry Kuzhanov d.kuzhanov at gmail.com
Tue Dec 17 20:41:28 PST 2013


Hi again,
Sorry for the brake..
Basically I wanted to replace traditionally styled checkboxes with nice
toggles. As far as I understand checkbox style class is being generated
inside openlayers.js file. I've found the code and replaced style name with
my own class. As a result currently it generates nice on/off button.
I'm sure you can also reset the class name to smth different or none value
and get rid of checkboxes.


среда, 18 декабря 2013 г. пользователь Dmitry Kuzhanov писал:

> Hi, I was recently working on the similar issue, but my idea was to rep
>
> четверг, 12 декабря 2013 г. пользователь Basques, Bob (CI-StPaul) писал:
>
>>  All,
>>
>>
>>
>> Is there an easy way to still display the layer title in the switcher,
>> but also hide the checkbox.  I want a layer title in the switcher that is
>> always on (This is cannot be a baselayer!!, I need to put things under/over
>> it as far as other layers are concerned.)
>>
>>
>>
>> Thanks
>>
>>
>>
>>
>>
>>
>>
>> Bobb
>>
>>
>>
>>
>>
>
>
>
>

-- 
С Уважением, Дмитрий Кужанов.






*Московский государственный университет им. М.В. ЛомоносоваГеографический
факультетКафедра картографии и геоинформатики8 906 755 06 99*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20131218/9ba87070/attachment-0001.html>


More information about the Users mailing list