Opened 12 years ago
Closed 12 years ago
#469 closed defect (fixed)
InitialView not working with GeoExtPrintForm
Reported by: | jlacroix | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.8.0 |
Component: | widgets | Version: | unspecified |
Keywords: | bis-1.8.0 | Cc: |
Description
The InitialView widget is not working when we activate the GeoExtPrintForm. There's no error message, the map simply not zoom.
Note:
See TracTickets
for help on using tickets.
The GeoExtPrintForm was adding a temporary layer in the map. That combined with the allOverlay setting, made the InitialView think that the map was ready to early and zoomed on the map before there were any layer in it. For previous version, simply putting the InitialView widget before the GeoExtPrintForm widget fix the problem. For a more permanent solution I had the InitialView listen to the printallwidgetexecutions event to make sure the map is ready.
FIXED in r1425