moveEnd event not consistently firing in 2D

Hi guys, I am relying on the moveEnd event for some custom code and am finding it is not always firing in 2D.

It is easily repeatable, open the Cesium sandcastle Camera example, place the map into 2D mode, select Move events from the dropdown, zoom into WaterLoo station London (around caching level 19), centre the mouse on the map and use to mouse scroll wheel to zoom in and out.

You should notice that the event does not always fire. I suspect it isn't firing in-between the tile caching levels.

Your help is appreciated.


I’ve filed a bug report here:

The code responsible for firing the camera events takes place here:

As a workaround, you can change CesiumMath.EPSILON6 to a more precise value, like CesiumMath.EPSILON12

Take a look at our build guide for instructions for downloading and building the code base: