Map "click" event renamed to "singleclick"
As discussed with @tschaub in #1195.
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user