Skip to content

return image data only #142

Description

@lubosdz

Is it possible to simply return image data into JS variable?
Currently it's not possible - or did I miss something?

Most of use cases do not need to save file directly, but further manipulate image data - ie. send to server ..
Opening popup by default from withing JS is terrible approach, since many browsers block popups.
This plugin is 95% well baked, but needs some minor tuning to make it more eatable :-)

Also see - https://dev.to/gabiaxel/exporting-leaflet-map-to-image-in-the-browser-16am

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions