Commit 4d034d5
authored
fix(plugins): keep globe projection when adding a Zarr layer via addZarrLayer (#1470)
addZarrLayerExclusively called ensureMercatorProjection, snapping the map out of
globe whenever a plugin added a Zarr layer through addZarrLayer — while the
Add Data → Zarr panel (same renderer) kept globe. @carbonplan/zarr-layer
reprojects on the GPU and renders projected data correctly in globe, so the
switch was unnecessary and made the two Zarr entry points inconsistent. Remove
it; the COG / cloud-NetCDF / LiDAR deck.gl paths keep their own
ensureMercatorProjection calls.
Fixes #14661 parent a76bbbf commit 4d034d5
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2281 | 2281 | | |
2282 | 2282 | | |
2283 | 2283 | | |
2284 | | - | |
2285 | | - | |
2286 | | - | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
2287 | 2287 | | |
2288 | 2288 | | |
2289 | 2289 | | |
| |||
0 commit comments