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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user