Map "click" event renamed to "singleclick"

As discussed with @tschaub in #1195.
This commit is contained in:
Éric Lemoine
2013-10-31 09:17:24 +01:00
parent 2c930d74b5
commit 8402eee0c3
13 changed files with 23 additions and 23 deletions
+2 -2
View File
@@ -54,8 +54,8 @@ ol.events.condition.always = goog.functions.TRUE;
* @return {boolean} True if the event is a click event.
* @todo stability experimental
*/
ol.events.condition.clickOnly = function(mapBrowserEvent) {
return mapBrowserEvent.type == ol.MapBrowserEvent.EventType.CLICK;
ol.events.condition.singleClick = function(mapBrowserEvent) {
return mapBrowserEvent.type == ol.MapBrowserEvent.EventType.SINGLECLICK;
};