[fusion-trac] #338: Map returned to the default commercial
layer after theme operation
Fusion
trac_fusion at osgeo.org
Thu Nov 26 21:20:20 EST 2009
#338: Map returned to the default commercial layer after theme operation
---------------------+------------------------------------------------------
Reporter: liuar | Owner: madair
Type: defect | Status: new
Priority: P2 | Milestone: Future
Component: Widgets | Version: 1.1.1
Severity: Major | Resolution:
Keywords: | External_id: 1272741
State: New | Browser: All
Os: All |
---------------------+------------------------------------------------------
Comment (by liuar):
That's because those operation like theme and buffer will refresh or
reload the map, which will invoke setDefaultBasemap method in
BasemapSwitcher. So the default commercia layer will be set to baselayer
again.
There's a solution, added a event named MAP_MapGroupLoaded and
setDefaultBasemap will react to this event rather than MapLoaded.
MAP_MapGroupLoaded event will be fired when the whole map group is loaded.
--
Ticket URL: <http://trac.osgeo.org/fusion/ticket/338#comment:1>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.
More information about the fusion-trac
mailing list