Depending on the labeling settings with featureserver and featurelayers, the application will:
1 - Cause the layers to not load at all, and the application becomes broken if the layers are open by default
If the layers are not on by default, and then turned on by the user, the app does work.
2 - Cause the application to throw errors during drawing
Example Error:
ERROR TypeError: Cannot read property '1' of undefined
at a.getData (engine.js:448)
at a.getVVSize (engine.js:447)
at a.reset (engine.js:468)
at a.reset (engine.js:465)
at a.run (engine.js:457)
at Object.e._applyVisivilityPass (mapViewDeps.js:8)
at u (mapViewDeps.js:9)
at t.invokeTask (polyfills.6128a76cb46d689e5adb.js:1)
at Object.onInvokeTask (main.4f6b201b924958ab72f9.js:1)
at t.invokeTask (polyfills.6128a76cb46d689e5adb.js:1)
It is fairly frustrating when certain api errors cause the esri code / map to stop working altogether... is there any kind of global error handler we can tap into to allow the app to proceed after hitting some problem? We have a couple other similar things going on that we need a strategy for getting around.
Thank you