OpenLayers OpenLayers

Ticket #71 (closed feature: fixed)

Opened 2 years ago

Last modified 2 years ago

collapsable TOC

Reported by: jrf Assigned to: sderle
Priority: major Milestone: 2.0 Release
Component: Map Version:
Keywords: Cc:
State:

Description

The right-hand-side blue tabs are fine for listing a couple layers, but they obscure map area and fail entirely for large lists of layers. Most GIS call this capability the "Table of Contents" and it lists the layers present in a map. Typically, the TOC is also used to let the user change attributes about each layer, such as z-index, symbol color or marker, line color, projection etc. Such complicated UI elements obviously don't fit well in the current tabs.

For a next step forward in OpenLayer's TOC technology, let's simply move the tabs into a separate div that can be "collapsed" to save space. It need not do more than just list the available layers and let the user turn them on/off. It should allow a large number of layers, let's say 20 as a good initial target. It should have a visually pretty "closed" state and a usable "open" state.

A next iteration of this might allow layers to be grouped, so that a new layer can be added to a group of existing layers, and all of them turned on/off at once. Such a group might also have the property that only one layer in the group is visible at a time. This would allow, for example, the most recently added layer to be the only active layer in a group.

Attachments

layers.png (79.1 kB) - added by ed@citysafe.org on 07/20/06 12:21:51.
layer mockup for discussion

Change History

07/05/06 23:48:29 changed by blammo

This is of particular interest to me. We have an interface with 75 layers and still growing. Our current interface handles thing with a cascaded list that is scrollable.

07/16/06 20:00:41 changed by ed@citysafe.org

Can layer state be saved, either to the client computer or back to the server associated with an ID for that user?

I'm thinking of allowing users to setup their own map viewing preferences and then save them somehow.

07/20/06 12:21:51 changed by ed@citysafe.org

  • attachment layers.png added.

layer mockup for discussion

08/10/06 02:39:31 changed by euzuro

  • status changed from new to closed.
  • resolution set to fixed.

08/14/06 10:52:56 changed by ed@citysafe.org

can we move the layers.png to another ticket then?

08/16/06 01:00:40 changed by euzuro

  • milestone changed from 2.1 Release to 2.0 Release.