From f28fe4912f92279d885cb934265db6c78aa1a250 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Tue, 26 Jun 2012 13:34:34 +0200 Subject: [PATCH] I think we decided to name events in a noun+verb fashion. --- src/ol/Map.js | 4 ++-- src/ol/control/Attribution.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ol/Map.js b/src/ol/Map.js index 7d9d5efbae..8ff0a7da0c 100644 --- a/src/ol/Map.js +++ b/src/ol/Map.js @@ -17,7 +17,7 @@ goog.require('goog.asserts'); * @export * @constructor * - * @event addlayer Fires when a layer is added to the map. The event object + * @event layeradd Fires when a layer is added to the map. The event object * contains a 'layer' property referencing the added layer. */ ol.Map = function() { @@ -394,7 +394,7 @@ ol.Map.prototype.addLayers = function(layers) { for (var i=0, ii=layers.length; i