-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic data update #16
Comments
Aha! Looks like I also need to update |
Yeah, the tooltips get the data from the |
is there any public api methods? how to update map with new data? |
At the moment there are none. It's just really what's in the readme or here: https://stephanwagner.me/create-world-map-charts-with-svgmap It definitely would be a good addition and I hope I'll get around to improve svgmap soon. |
Does anyone find a solution for this? I'm assuming it's not being developed anymore. |
some thoughts and minimal demo when you update your map data via
|
@ud-klee did you figure out how to do this? |
Okay, it's actually quite simple: #121 (comment) |
I figured that the applyData() method can be used to update the map data after the map has been rendered, but the tooltips are not aware of the data change. Can it expose the API to rebuild the tooltips, or use custom events to notify the tooltips on model change? Thanks!
The text was updated successfully, but these errors were encountered: