Documentation improvement (fixes #932)

This commit is contained in:
ahocevar
2013-04-10 10:06:19 +02:00
parent 5deb2c6280
commit f22937b2ae

View File

@@ -93,7 +93,11 @@ OpenLayers.Layer = OpenLayers.Class({
* loadend - Triggered when layer loading ends. When using a Vector layer
* with a Fixed or BBOX strategy, the event object includes a
* *response* property holding an OpenLayers.Protocol.Response object.
* visibilitychanged - Triggered when layer visibility is changed.
* visibilitychanged - Triggered when the layer's visibility property is
* changed, e.g. by turning the layer on or off in the layer switcher.
* Note that the actual visibility of the layer can also change if it
* gets out of range (see <calculateInRange>). If you want to catch
* these cases, register for the map's 'changelayer' event instead.
* move - Triggered when layer moves (triggered with every mousemove
* during a drag).
* moveend - Triggered when layer is done moving, object passed as