CanvasMap
Getting Started Tutorials 3D Reference

Class CMPanelLayerList extends CMPanel

CMPanelLayerList

To Do:
- Contains hard coding for the SVG code to create the plus/minus symbols for the Open/Close checkbox. Should
move to an image or a setting.


Copyright (C) 2020, Humboldt State University, Jim Graham

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see
.

LayerListItemHeight Layer List Item Height CMTYPE_FLOAT 28 Height, in pixels, for each item in the layer list IndentAmount Indent Amount CMTYPE_FLOAT 12 Amount to indent for each child in the list OpenCloseElementWidth Open Close Element Width CMTYPE_FLOAT 20 Not available to JavaScript from CSS so these are replicated here CheckBoxElementWidth Check Box Element Width CMTYPE_FLOAT 24 IconElementWidth Icon Element Width CMTYPE_FLOAT 20 NameElementWidth Name Element Width CMTYPE_FLOAT 200