Open gemmavnash opened 4 years ago
Yes it's here: https://github.com/rowanwins/leaflet-easyPrint/blob/75b3193cbe40b1e90c7f677a63d0405ad9e906f2/src/index.js#L217
There was also this issue #88
Thank you. I did search for 'finished', but git didn't find it.
And example of how to use it, is here https://github.com/rowanwins/leaflet-easyPrint/issues/88#issuecomment-426224537
I'm using Mapbox GL layers in my L.map via the mapbox-gl-leaflet binding. It would appear that the Mapbox GL style won't work in easyPrint (and obviously they don't have to), so I thought I'd make a hidden static baselayer specific for 'printing'. I switch it before the print starts, but I need to know when the 'print' is finished so I can revert to the Mapbox GL style base layer. Any ideas?