CesiumGS / CesiumGS/cesium

Avoid automatic zoom in when changing to 2D view

Open
#9,739 1 comment 0 reactions 0 assignees View on GitHub
category - 2d / columbus view category - camera
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Every time I change from Globe 3D View to the 2D View, cesium zooms a little bit into the map when the transformation is finished. I have to zoom out to see the whole map. Is there any way to change this behavior?

This can be seen here: https://sandcastle.cesium.com/

Thanks

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the Cesium Sandcastle linked in the report by switching from Globe 3D View to 2D View. Trace the 3D-to-2D transition to identify why the map zooms in, then verify that changing views preserves the expected map extent without requiring manual zooming out.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.