This is a simple TOC Widget that includes dynamic legend component. This widget also includes enhancement for map service transparency, right click context menu for zoom to make layer visible, and scale dependent renderer for the TOC checkboxes. It adds on the ability to group layers into tabs on the TOC.
- Integrated layer list and legend
- Transparency slider
- Group layers
- Flash Builder 4
- Flex SDK 4.6
- Fork and then clone the repo or download the .zip file.
- Add this into the main config file for the ArcGIS Flex Viewer:
<widget label="Layers" right="10" bottom="10" preload="open" icon="assets/images/Legend32.png" config="widgets/TOCGroup/TOCGroupWidget.xml" url="widgets/TOCGroup/TOCGroupWidget.swf"/>
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Anyone and everyone is welcome to contribute.
Copyright 2014 - Shaun Weston
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.