dash-leaflet icon indicating copy to clipboard operation
dash-leaflet copied to clipboard

overlay wind velocity and direction

Open RafieeAshkan opened this issue 1 year ago • 6 comments

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

RafieeAshkan avatar Feb 20 '24 23:02 RafieeAshkan

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.

emilhe avatar Feb 22 '24 18:02 emilhe

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!

subhashis avatar Mar 21 '24 22:03 subhashis

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 avatar Dec 16 '24 02:12 xiaogangzhu

@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 avatar Dec 16 '24 06:12 emilhe

@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?

xiaogangzhu avatar Dec 16 '24 16:12 xiaogangzhu

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.

emilhe avatar Dec 16 '24 16:12 emilhe