add a 'changelayer' event that fires when a layer's visibility changes. listen for this in the layerswitcher

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1050 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-02 16:08:09 +00:00
parent 443f28dee8
commit 620cebb79c
3 changed files with 13 additions and 7 deletions

View File

@@ -22,8 +22,8 @@ OpenLayers.Map.prototype = {
*
* @type Array */
EVENT_TYPES: [
"addlayer", "removelayer", "movestart", "move", "moveend",
"zoomend", "layerchanged", "popupopen", "popupclose",
"addlayer", "removelayer", "changelayer", "movestart", "move",
"moveend", "zoomend", "layerchanged", "popupopen", "popupclose",
"addmarker", "removemarker", "clearmarkers", "mouseover",
"mouseout", "mousemove", "dragstart", "drag", "dragend",
"changebaselayer"],