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

visgl / deck.gl / 21610397047 / 1
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 02 Feb 2026 11:49PM UTC
Files 432
Run time 13s
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.1

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 %.

56819 of 62369 relevant lines covered (91.1%)

14383.7 hits per line

Source Files on job 21610397047.1
  • 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 Build 21610397047
  • 1cd8eea8 on github
  • Prev Job for on master (#21559132194.1)
  • Next Job for on master (#21651431830.1)
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