Opened 14 years ago

Last modified 14 years ago

#1186 closed defect

When the Measure clear and stopped but the layer still shows in the Layers box — at Version 4

Reported by: tenswell Owned by: chrisclaydon
Priority: low Milestone: 2.2
Component: AJAX Viewer Version: 2.0.2
Severity: trivial Keywords:
Cc: External ID: 1285119

Description (last modified by tomfukushima)

steps:

  1. open a studio
  2. connect to a Linux server
  3. open a basic web layout in Firefox
  4. click Task
  5. select Measure Distance
  6. point a start and a stop in the map.
  7. clear measure and stop

result: The measure layer still shows in the Layer box.

expected: The measure layer should disappear.

Change History (6)

by tenswell, 14 years ago

Attachment: measure.PNG added

comment:1 by liuar, 14 years ago

Component: GeneralAJAX Viewer

[Analysis]
The measure layer is not removed from layer collection of current map after clear.

[resolution]
Remove the measure layer while user click clear button.

[Affected Files]
mapviewerphp/measure.php
mapviewernet/measure.aspx
mapviewerjava/measure.jsp

comment:2 by liuar, 14 years ago

[Follow up] Create a new layer while user start a new measure

comment:3 by tomfukushima, 14 years ago

Owner: set to chrisclaydon

comment:4 by tomfukushima, 14 years ago

Description: modified (diff)

by liuar, 14 years ago

Attachment: patch1186.patch added
Note: See TracTickets for help on using tickets.