Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture map image within the javascript code #77

Closed
udaydutta opened this issue May 11, 2018 · 3 comments
Closed

Capture map image within the javascript code #77

udaydutta opened this issue May 11, 2018 · 3 comments

Comments

@udaydutta
Copy link

First of all this plugin is awesome. It could probably handle all sorts of map layers including the DIV markers that Leaflet-image can not do. My question is how can I capture the converted map image and use to embed in another report layout? For an example I want to create a report page using jsPDF library that include map, html tables and other DOM elements. Any tips, code example and idea will be highly appreciated and will be very much helpful to me. Thank you. - UCD

@rowanwins
Copy link
Owner

Hi @udaydutta

I don't currently have an option to allow retrieving the image via js although it is definitely doable by adding a new setting here.
I'll try and take a look into at some stage although I can't promise when. If you'd like to have a go contributing feel free :)

Thanks,
Rowan

@rowanwins
Copy link
Owner

Closing as it's a duplicated of #68 , but I have started playing it so stay tuned

@Jonibigoud
Copy link

Sorry i m back on this closed issue but did you manage to add this new setting?
I would be very interested in "intercepting" the image to embed it in another layout.
Thank you very much for your work on that plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants