overlay wind velocity and direction
Hi I was wondering if it is possible to overlay wind velocity and direction to dash leaflet? perhaps something like https://github.com/onaci/leaflet-velocity Thanks
It should be possible to the plugin, but it would require a wrapper in the React layer. I'll be happy to look at a PR, if you decide to go down this route. However, it's not possible use it from Python with the current code.
It would be great to have this feature in dash-leaflet! I am not a react expert, would appreciate any help or pointer to help create this wrapper.
Thanks!
Hi, how can I use leaflet velocity now? Since it is not implemented, what else procudure should I add the feature to my dash app?
@xiaogangzhu If you need it now, you can fork dash-leaflet, and add the component yourself. If you end up doing so, please make a PR. I would like the see the resulting solution for inspiration. If it looks good, it could end up getting merged.
@emilhe I really would like to add the component by myself! But I have little knowledge about js and react, so I don't know how to implement this. I was wondering when are you guys planning to add this new feature since it is really useful. Also, do we have some other options to integrate the component to my dash app? For example, write some js file which can read by dash?
You can take a look at the other components in the repo to get at sense of the task.
I presently don't have any active projects requiring this feature, so there is no timeline at the moment.
You might be able to do some hacking in a js file directly, but I haven't been down this path myself.