leaflet.minicharts icon indicating copy to clipboard operation
leaflet.minicharts copied to clipboard

event Handler missing on flow and minicharts object.

Open moonbrandy opened this issue 7 years ago • 4 comments

The flow and minicharts object should be at the same level shape or marker in leaflet, therefore, each individual object should be able to assign an layerID instead of the whole layer is just one big object with one ID. I hope this feedback is somehow useful. I'm working on this change, do let me know if you guys want a copy of it. Keep up the great work. The package looks good.

moonbrandy avatar Jul 05 '17 04:07 moonbrandy

Hello. I'm not sure I have understood your issue. Could you describe a use case with the actual behavior and the expected one? Anyway, feel free to share your work by doing a pull request.

FrancoisGuillem avatar Jul 05 '17 07:07 FrancoisGuillem

Hi Francois,

The problem I'm facing is the minicharts been added to leaflet as minicharts object instead of inherent from a shape or marker from leaflet. The reason why I would hope that's an inherent is because it will have the interface with shiny so that I can get what has been clicked by just call input$mapid_shape_click in the shiny side. With these event handler I can do advanced interaction in shiny's back end. I hope that clears a bit confusion.

Regards, Danny

moonbrandy avatar Jul 06 '17 22:07 moonbrandy

Ok I understand now. This would be a very intersting feature indeed!

FrancoisGuillem avatar Jul 07 '17 08:07 FrancoisGuillem

Has this feature been implemented ? can minicharts be selected (appear) and de-selected (disappear) from the map using layers in leaflet ? I would be grateful if this feature can be implemented

paragemini avatar Mar 09 '22 13:03 paragemini