Hi, I like the new mapbox maps for my project and got them working in sandcastle but when I publish them my app hangs on the “Loading…” screen. So i took the “Hello World.html” that comes with Cesium (the one in …/gallery) and replaced the “var viewer…” line with the following code:
var viewer = new Cesium.Viewer(‘cesiumContainer’, {
baseLayerPicker : false,
imageryProvider : new Cesium.MapboxImageryProvider({
For me the mapbox example never gets past the “Loading…” screen. I think release 1.12 might have broke something in Chrome as my larger app is having the same problem with 1.12 but not 1.11 (example below). I’m using Version 44.0.2403.130 m). I tried enabling the “Override software rendering list” but that didn’t help. Are you using Chrome?
Both links above load fine and so does the “Hello World Mapbox.html” link in my original post. But i can’t use firefox because all my polygons and polylines just randomly disappear all the time (but that’s always been a problem in ff).
Hmm… both your 1.12 and 1.11 versions load fine for me in chrome. I just updated to Version 44.0.2403.130 m and now your application loads even more quickly than it did before I updated. I’m on a windows machine, but I don’t think that would make a difference.
Are the drivers for your video card up to date? Are you able to run the unit tests for 1.12?
Interesting. It always seems to load faster the second time you load it in a new browser for me too. I ran the unit tests. 16 failures…14 having to do with these two. By enabling the “Override software rendering list” flag in chrome://flags/, it should ignore any video cards flagged as being insecure and therefore turned off for webGL.
Did you clear out your cache? Sometimes I see weird issues in chrome because it cached something. I almost always run chrome in incognito mode when doing development because of that.
I wouldn’t expect to see test failures in either CameraEventAggregator or ScreenSpaceCameraController. There haven’t been significant changes to either of those classes in a long time.