• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

visgl / deck.gl / 21610397047
91%

Build:
DEFAULT BRANCH: master
Ran 02 Feb 2026 11:49PM UTC
Jobs 1
Files 432
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Feb 2026 11:42PM UTC coverage: 91.09% (+0.001%) from 91.089%
21610397047

push

github

web-flow
feat(core): Add Deck#getView() method (#9948)

* feat(core): Add Deck#getView() method

Add a public `getView(viewId)` method to the Deck class that returns
a View by its id. This extracts the view lookup logic that was previously
duplicated in places like MapboxOverlay's deck-utils.

- Add `Deck#getView(viewId: string): View | undefined`
- Update `getViewport` in deck-utils to use the new API
- Add tests for single view and multiple views cases

Closes #9709

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* refactor(mapbox): Move isInitialized check to top of draw functions

This ensures getViewport is only called when deck is initialized,
which allows us to simplify getViewport by removing the redundant
isInitialized check. The fallback to getDefaultView remains for
safety but deck.getView() will now always find the configured view.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>

6862 of 7541 branches covered (91.0%)

Branch coverage included in aggregate %.

14 of 16 new or added lines in 2 files covered. (87.5%)

56819 of 62369 relevant lines covered (91.1%)

14383.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
79.07
-0.1% modules/mapbox/src/deck-utils.ts
Jobs
ID Job ID Ran Files Coverage
1 21610397047.1 02 Feb 2026 11:49PM UTC 432
91.09
GitHub Action Run
Source Files on build 21610397047
  • Tree
  • List 432
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21610397047
  • 1cd8eea8 on github
  • Prev Build on master (#21559132194)
  • Next Build on master (#21651431830)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc