Opened 14 years ago
Closed 14 years ago
#1493 closed defect (fixed)
Resize window caused dynamic layers disappear if the map with Base layers in Chrome/Safari
Reported by: | yangte | Owned by: | yangte |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | AJAX Viewer | Version: | 2.2.0 |
Severity: | major | Keywords: | resize |
Cc: | External ID: | 1356304 |
Description
Steps:
- Create one map and add one dynamic layer
- Add one base layer group with base layer(important)
- New basic web layout with the new map.
- Open the web layout in Chrome/Safari.
- Resize the window
Results: Only base layers will be shown in the map.
Attachments (1)
Change History (3)
by , 14 years ago
Attachment: | Fix Ticket 1493.patch added |
---|
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Milestone: | 2.3 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
The patch looks good to me. I've submitted the code. Changeset [5325] by liuar
Note:
See TracTickets
for help on using tickets.
When the map has base layer group, the ajaxviewer will hide the dynamic map image div first.
In the code for IE/Firefox, the Ajax viewer will unhide the map image div:
However, in the code for Chrome/Safari, someone forgot to unhide the map image div:
so the solution is to simply unhide the div.