Catching ESRI Leaflet DynamicMapLayer Errors

4447
1
03-21-2016 04:14 PM
Labels (1)
TimothyMcCarthy
New Contributor

I am using the L.esri.dynamicMapLayer in a leaflet application.  Simply creating the layers is not a problem and I can successfully use them in the application.  My issue is when the server for the map service returns an error (400, 500, etc) I loose the ability to click on other data in the map (GeoJson data coming from a MongoDB).

 

Any ideas on how to catch and handle these errors so that they do not interfere with the user experience?

 

Tags (2)
0 Kudos
1 Reply
JohnGravois
Frequent Contributor
0 Kudos