Closed remmi11 closed 6 years ago
Hi @remmi11
If your overlay is added inside the map div (similar to what a leaflet control containers do - like the zoom buttons or attribution) then they should appear when you print.
So for example you might have something like
<div id="map">
<div class="watermark><img src="whatever.png"></div>
</div>
Hopefully that helps
Cheers Rowan
Thank you Rowan for sharing. That makes sense and is working wonderfully. I did notice the print function works if https:// is in the address bar but will produce cors issues if not. Ex. - Plugin will work for https://fireislandmap.com while fireislandmap.com will produce the cors errors. Any thoughts here?
Blasted CORS is responsible for 99% of bugs in this repo at the moment, I don't have a good answer sorry :(
Going to close this issue as the watermark issue is solved.
Is there a way of overlaying a logo or a watermark on the exported image? Any direction is appreciated.