Why does it take a long time to load the "standard" map style?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
**mapbox-gl-js version**: ^3.0.0-beta.1
### Question
Why does it take so long to load the standard map style for the first time?
I am using the new version of mapbox-gl and when I access my page with next.js the event map.on('load', () => {}) takes time to respond.
Only happens with this new "standard" map style
### Links to related documentation
https://github.com/mapbox/mapbox-gl-js/blob/main/MIGRATION_GUIDE_v3.md
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with MIGRATION_GUIDE_v3.md and the map.on('load') entry point described in the report, using the standard style in the Next.js setup as the reproduction context. Document what accounts for the first-load delay and when the load event responds, then confirm the explanation addresses the reported standard-style behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, next.js, typescript
- Domain
- documentation, frontend, web-dev
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100