Lint free examples
This commit is contained in:
@@ -66,7 +66,7 @@ map.addOverlay(popup);
|
||||
// display popup on click
|
||||
map.on('click', function(evt) {
|
||||
var feature = map.forEachFeatureAtPixel(evt.pixel,
|
||||
function(feature, layer) {
|
||||
function(feature) {
|
||||
return feature;
|
||||
});
|
||||
if (feature) {
|
||||
|
||||
Reference in New Issue
Block a user