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

View File

@@ -71,7 +71,7 @@ var popup = new ol.Overlay({
map.addOverlay(popup);
map.on('click', function(evt) {
map.on('singleclick', function(evt) {
map.getFeatures({
pixel: evt.getPixel(),
layers: [vector],