Mention that layer.display is not designed for external use, and redirect

users to setVisibility. No functional change.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@10848 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2010-10-18 19:12:13 +00:00
parent e606386b94
commit 2bb081255e

View File

@@ -704,7 +704,9 @@ OpenLayers.Layer = OpenLayers.Class({
/**
* APIMethod: display
* Hide or show the Layer
* Hide or show the Layer. This is designed to be used internally, and
* is not generally the way to enable or disable the layer. For that,
* use the setVisibility function instead..
*
* Parameters:
* display - {Boolean}