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

promise renderComplete from addLayer #1152

Merged
merged 3 commits into from
Feb 27, 2024

Conversation

dbauszus-glx
Copy link
Member

The addLayer method will add a renderComplete promise to the mapview object.

The promise will resolve once the mapview.Map has the rendercomplete event dispatched.

This will allow to wait for the render to complete after adding a report page for example.

report.addPage(firstPage)
await locationDetailsMapview.renderComplete

@dbauszus-glx dbauszus-glx added the Feature New feature requests or changes to the behaviour or look of existing application features. label Feb 23, 2024
Copy link

sonarcloud bot commented Feb 23, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@dbauszus-glx dbauszus-glx linked an issue Feb 23, 2024 that may be closed by this pull request
@dbauszus-glx dbauszus-glx merged commit 88e2fd2 into GEOLYTIX:main Feb 27, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature requests or changes to the behaviour or look of existing application features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mapview rendered event
2 participants