mirror of
https://github.com/heyarne/berliner-winter.git
synced 2026-05-06 19:23:39 +02:00
merged
This commit is contained in:
commit
d4b8ced074
1 changed files with 2 additions and 2 deletions
|
|
@ -167,10 +167,10 @@ class Visualization {
|
|||
|
||||
for (var [incident, marker] of this._markers)
|
||||
if (incidents.indexOf(incident) == -1) {
|
||||
this.map.removeLayer(marker)
|
||||
$(marker._icon).hide()
|
||||
this.oms.removeMarker(marker)
|
||||
} else {
|
||||
this.map.addLayer(marker)
|
||||
$(marker._icon).show()
|
||||
this.oms.addMarker(marker)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue