Frontmatter
| assignees | tobiu |
| createdAt | Apr 12, 2020, 2:42 PM |
| updatedAt | Apr 12, 2020, 3:01 PM |
| githubUrl | https://github.com/neomjs/neo/issues/461 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 0 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 12, 2020, 3:01 PM |
Neo.main.lib.OpenStreetMaps: center() => optional animation

tobiu
Apr 12, 2020, 3:01 PM
got a bit more complex.
Neo.component.wrapper.OpenStreetMap now has a private method centerMap.
Changing the center config OR calling flyTo will trigger this method and call center() inside the main thread (passing an animate param)
https://docs.mapbox.com/mapbox-gl-js/example/center-on-symbol/