I needed to be able to create a downloadable image of the map and all the layers. I found this library:
https://github.com/mapbox/leaflet-image

Which does the job nicely. In order to add the leaflet map layers I was making from this module I needed them to be rendered in Canvas. So I created a tiny patch to add a canvas toggle in the view.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

AgentJay created an issue. See original summary.

AgentJay’s picture

Now with more patch.