euzuro
|
605ba7a066
|
bring in code from old switcher.js to make the switcher tabs prettier. unfortunately, they refuse to right-align. If i wasnt as cracked-out as I am right now, i would continue plugging away. As it is, however, my faculties are waning. Off to bed.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@86 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-17 04:35:14 +00:00 |
|
euzuro
|
401aa4d69a
|
decomposed layerswitcher
git-svn-id: http://svn.openlayers.org/trunk/openlayers@84 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-17 03:39:39 +00:00 |
|
euzuro
|
9def710214
|
always delete everything and rebuild everything on redraw(). Just simpler this way
git-svn-id: http://svn.openlayers.org/trunk/openlayers@81 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-17 03:13:41 +00:00 |
|
euzuro
|
ca0a8407b4
|
move the append up into the loop, so as not to repeatedly append extant divs
git-svn-id: http://svn.openlayers.org/trunk/openlayers@80 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-17 02:59:37 +00:00 |
|
euzuro
|
b0020d6f40
|
push constant variables out of the class, make them static. other small coding standards changes.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@79 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-17 02:52:57 +00:00 |
|
euzuro
|
e5914e6c50
|
add constants for active/deactive switcher controls
git-svn-id: http://svn.openlayers.org/trunk/openlayers@75 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-17 02:16:57 +00:00 |
|
euzuro
|
d260d7c3ae
|
JSDOC, coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@74 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-17 02:08:21 +00:00 |
|
crschmidt
|
a06bc351e4
|
Create redraw() function. This function does all of the drawing in the control: the draw function merely calls out to it. In addition, draw now does initialization of an event listener, listening for layers being added. This allows you to add the layer control before you've added all your layers, which was not possible before. It also allows, if desired, for us to add the LayerSwitcher control to the default controls, since it now will draw the layer switchers as they are added.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@67 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-16 23:54:34 +00:00 |
|
euzuro
|
bd16aa9cdf
|
replaced calls to addX and addY with calls to add. Simplify
git-svn-id: http://svn.openlayers.org/trunk/openlayers@51 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-16 18:32:11 +00:00 |
|
crschmidt
|
54c0403850
|
add LayerSwitcher control. Currently, when added, this will simply loop through all the map layers, display a div (with text in it) which allows you tu turn the layer on or off. Layer visibility is a new concept in Layer.js, including a getter and setter, which uses the style.visibility prop to change the status of the layer.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@31 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-14 02:44:49 +00:00 |
|