Bug #2695
closedLoading map message persists when a WMS is down
0%
Description
When an external WMS server goes down, mapbuilder will continue trying to load the layer.. or at least will continue showing a message stating "Loading 1 map layer". If the server is down, the message never goes away and this is very distracting.
Ideally we could implement a timeout whereby mapbuilder would remove the message after a reasonable amount of time (20 seconds) if it had not recieved a response yet. Also a notification such as "Layer X could not be loaded" would be helpful.
I spoke with the Mapbuilder team about this and no one has implemented a solution but they'd be interested in including a patch in the next release assuming we can develop a fix.
The relevant source file will likely be metacat/lib/spatial/mapbuilder/lib/widget/MapPane.js