Commit documentation changes from gstamp, patch from #869.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3819 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-07-30 00:21:02 +00:00
parent b1097e31c0
commit 23cef65d0b
3 changed files with 63 additions and 35 deletions

View File

@@ -293,9 +293,11 @@ OpenLayers.Layer = OpenLayers.Class({
/**
* APIMethod: setName
*
* Sets the new layer name for this layer. Can trigger
* a changelayer event on the map.
*
* Parameters:
* newName - {String}
* newName - {String} The new name.
*/
setName: function(newName) {
if (newName != this.name) {