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

ehtick / deck.gl / 21614072501
83%

Build:
DEFAULT BRANCH: master
Ran 03 Feb 2026 04:49AM 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%
21614072501

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>

6863 of 7542 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%)

14385.13 hits per line

Uncovered Changes

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

© 2026 Coveralls, Inc