Web Mercator Weirdness
- Dominant language
- JavaScript
- Stars
- 15.7k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description
I tried enabling WebMercator mode like this:
```
var viewer = new Cesium.Viewer('cesiumContainer', {
mapProjection: new Cesium.WebMercatorProjection(Cesium.Ellipsoid.WGS84)
});
//viewer.extend(Cesium.viewerCesiumInspectorMixin);
viewer.scene.morphTo2D(0);
```
But the world went awash in wacky weirdness:

Is this a bug or am I just doing it wrong? If it's not a bug then we might need clearer docs on how to do this.
/cc @kring @abwood
Contributor guide
Research direction
Reproduce the issue with Cesium.Viewer, WebMercatorProjection, and scene.morphTo2D using the snippet in the report. Trace how mapProjection is handled during the 2D morph and determine whether the rendering is incorrect or the usage needs clarification; done means the behavior is fixed or the supported setup is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100