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