Browse Source

CategoryOverpass: bugfix, onUpdate update currently shown popup (and details)

master
parent
commit
7d331241f9
  1. 2
      src/CategoryOverpass.js

2
src/CategoryOverpass.js

@ -89,7 +89,7 @@ function CategoryOverpass (id, data) {
}
}.bind(this)
this.layer.onUpdate = function (ob) {
if (!ob.popup || !ob.popup._contentNode) {
if (!ob.popup || !ob.popup._contentNode || map._popup !== ob.popup) {
return
}

Loading…
Cancel
Save