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

Add Custom Attribute to Hide UI Controls on Image Capture #357

Conversation

mcastre
Copy link
Contributor

@mcastre mcastre commented Oct 5, 2017

  • Luckily, the html2canvas plugin used to capture screenshots of the map comes with an attribute data-html2canvas-ignore={true} to hide the element upon image capture.
  • Unfortunately, I was unable to hide the map zoom controls (bottom-right) using this method since its part of the leaflet map.
  • Also updated a few unit tests

@nighto nighto merged commit 308d4b1 into MinisterioPublicoRJ:develop Oct 5, 2017
@nighto
Copy link
Contributor

nighto commented Oct 5, 2017

@mcastre added your name to our README ;-)

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

Successfully merging this pull request may close these issues.

2 participants