Skip to main content

Timeline for Adding a value to L.imageOverlay

Current License: CC BY-SA 4.0

6 events
when toggle format what by license comment
Apr 27, 2020 at 15:39 comment added TomazicM To dynamically sum values assigned to displayed overlays, you have to listen to map overlayadd and overlayremove events and then iterate through overlays with map eachLayer method.
Apr 27, 2020 at 14:51 comment added GladH Oke, i can't upvote yet because I don't have 15 reputation yet.
Apr 27, 2020 at 14:50 vote accept GladH
Apr 27, 2020 at 14:43 comment added TomazicM Answer to your comment is: No. Answer above is answering your question "Is it possible to add data to the L.imageOverlay?" And that was the only question. If answer helped you in the right direction, it's custom to accept it or at least upvote it. If you have another question, please post it as separate question.
Apr 27, 2020 at 13:01 comment added GladH Thank you! Is it possible to add the onchange= totalIt()) to the L.imageOverlay directly?
Apr 27, 2020 at 11:06 history answered TomazicM CC BY-SA 4.0