Best Regards,
Edwin
Edwin Corrigan
Hello everyoneIs it possible to retrieve the ID of an L.simpleMapScreenshoter?Here is my code :const pluginOptions = {hideElementsWithSelectors: [ ".leaflet-control-container",".leaflet-dont-include-pane"],hidden: true};Var ScreenCopy = new L.simpleMapScreenshoter(pluginOptions);
ScreenCopy.addTo(Rcarte);
document.getElementById( ????? ).addEventListener('click', function () {
ScreenCopy.takeScreen('blob', {........Many thanks for your helpJean Michel--
---
You received this message because you are subscribed to the Google Groups "Leaflet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leaflet-js+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leaflet-js/b3199a39-69c3-4f0f-8e23-bd8dd1db7269n%40googlegroups.com.