Map "click" event renamed to "singleclick"
As discussed with @tschaub in #1195.
This commit is contained in:
@@ -46,7 +46,7 @@ var map = new ol.Map({
|
||||
})
|
||||
});
|
||||
|
||||
map.on('click', function(evt) {
|
||||
map.on('singleclick', function(evt) {
|
||||
map.getFeatureInfo({
|
||||
pixel: evt.getPixel(),
|
||||
success: function(featureInfoByLayer) {
|
||||
|
||||
Reference in New Issue
Block a user