I am currently working on a GIS project hat has to be cross browser, mobile, multiplatform and omnipotent.
Cesium does not work without WebGL, on some older browser and other minor exceptions, but i have to catch them.
I decided to swich to OpenLayers when Cesium can’t be an option, OL works well on pretty everything.
As for now, I have a try catch for new Cesium.Viewer, and the catch starts OpenLayers, which worked pretty great until recently, when i started getting Cesium “out of memory” error.
Cesium docs on Developer Error stands: should never be caught; instead the calling code should strive not to generate it.
Well how do get around to that striving ?
Is there any reliable way of checknig whether Cesium will fire up properly, or do i have to try catch every single method i am calling to be sure it won’t crash out?
I’ll apricieate any response, i’m kind of banging rocks together here.
Thanks in advance.