Project

General

Profile

Actions

Bug #2695

closed

Loading map message persists when a WMS is down

Added by Matthew Perry almost 18 years ago. Updated almost 18 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
12/12/2006
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2695

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

Actions #1

Updated by Matthew Perry almost 18 years ago

Fixed. When image load fails, the layerCount is decremented so that mapbuilder will not display a waiting message unless it is actually waiting for an image. If a wms server is down, it puts a line-through the legend text for that layer.

The patch was suggested by John Pulles <john.pullesATgeodan.nl> on the mapbuilder mailing list and i'll be working with the mapbuilder team to get the patch in the next release.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 2695

Actions

Also available in: Atom PDF