deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

Match GlobeView projection parameters with Maplibre v5

Open Pessimistress opened this issue 1 year ago • 0 comments

For #9199

globe

Grid lines are rendered by Maplibre, points are rendered by deck.gl.

Change List

  • Match GlobeViewport's scale, nearZ, farZ with maplibre's GlobeTransform
  • GlobeView switch to WebMercatorViewport at zoom>=12. maplibre performs interpolation between the two projections at z [11, 12]. We may need to do the same, but the difference is honestly very subtle.
  • Some golden images are updated because the zoom -> scale mapping has changed. The new implementation uses an adaptive scale that depends on the latitude of the viewport center.

Pessimistress avatar Oct 04 '24 05:10 Pessimistress