LearnNewsExamplesServices
Frontmatter
id471
titleCovid.view.OpenStreetMapsComponent: sometimes does not initially show data
stateClosed
labels
bug
assignees[]
createdAtApr 13, 2020, 6:24 PM
updatedAtApr 14, 2020, 8:19 PM
githubUrlhttps://github.com/neomjs/neo/issues/471
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 14, 2020, 8:19 PM

Covid.view.OpenStreetMapsComponent: sometimes does not initially show data

tobiu
tobiu commented on Apr 13, 2020, 6:24 PM

unless you hit the reload data button.

tobiu added the bug label on Apr 13, 2020, 6:24 PM
tobiu referenced in commit baf24e9 - "https://github.com/neomjs/neo/issues/471" on Apr 14, 2020, 8:17 PM
tobiu
tobiu Apr 14, 2020, 8:19 PM

yikes, this one was tricky.

the counterpart to map.on => map.off did NOT remove the listener.

when adding map.on('load'), and checking for map.loaded() inside the handler, it can be false in case we add layers / sources.

tobiu closed this issue on Apr 14, 2020, 8:19 PM