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

Rd 286: screenshots #107

Merged
merged 16 commits into from
Aug 29, 2024
Merged

Rd 286: screenshots #107

merged 16 commits into from
Aug 29, 2024

Conversation

jonathanlurie
Copy link
Collaborator

@jonathanlurie jonathanlurie commented Aug 16, 2024

RD-286

The PR #106 must be merged first

@jonathanlurie jonathanlurie marked this pull request as ready for review August 16, 2024 13:29
@jonathanlurie jonathanlurie marked this pull request as draft August 20, 2024 13:22
@jonathanlurie jonathanlurie marked this pull request as ready for review August 23, 2024 09:27
Copy link
Member

@petrsloup petrsloup left a 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).

Copy link
Member

@petrsloup petrsloup left a 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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"sceenshot"

@jonathanlurie jonathanlurie merged commit e42ebb3 into main Aug 29, 2024
1 check passed
@jonathanlurie jonathanlurie deleted the RD-286 branch August 29, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants