-
Notifications
You must be signed in to change notification settings - Fork 14
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
Rd 286: screenshots #107
Rd 286: screenshots #107
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the use cases for wholePage
option are quite limited and it's actually not that related to the maping SDK, requires extra permissions and is not entirely consistent cross-browser.
I'd prefer to have it removed and simplify the code significantly. (And also update the readme.)
Otherwise looks good (including the production/non-production build change).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small typo, otherwise ok :-)
readme.md
Outdated
@@ -862,6 +862,37 @@ Turning off *zoom compensation* allows for more accurate adjustments to the visu | |||
|
|||
All the other options are documented on [our reference page](https://docs.maptiler.com/sdk-js/api/helpers/#heatmap) and more examples are available [here](https://docs.maptiler.com/sdk-js/examples/?q=heatmap+helper). | |||
|
|||
# Other helper | |||
## Take Screenshots, programmatically | |||
There are two different ways to create sceenshot, corresponding to two very different usecases. Note that screenshots will not contain *DOM elements* such as `Marker` and `Popup`, since those are not part of the rendering context. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"sceenshot"
RD-286
The PR #106 must be merged first