[fusion-trac] #131: ability to return all legend icons inside
one image
Fusion
trac_fusion at osgeo.org
Tue Nov 10 14:02:50 EST 2009
#131: ability to return all legend icons inside one image
-------------------------+--------------------------------------------------
Reporter: assefa | Owner: pagameba
Type: enhancement | Status: new
Priority: P2 | Milestone: 2.0
Component: Widgets | Version: 1.0.7
Severity: Major | Resolution:
Keywords: | External_id:
State: New | Browser: All
Os: All |
-------------------------+--------------------------------------------------
Comment (by tnolte):
I've made some considerable changes to the LoadScaleRanges script as it
was discovered that using the $_SESSION proved to be unreliable. Used the
session and map name to make a direct read to the session map file(s).
Also copied the "scale_ranges" building process from LoadMap directly into
the LoadScaleRanges. This fixed the issue of the legend icons not being
built correctly. I also made some changes to the Legend.js widget script
to account for the as yet finished process of using just the sprite image.
After loading up the map Legend updates were happening the old way but the
background image positioning wasn't being reset back to '0px 0px' which
caused the Legend icons not to show up. Will either come back to this and
complete the changes to just use the sprite image or defer to Paul to
finish that section up.
--
Ticket URL: <http://trac.osgeo.org/fusion/ticket/131#comment:2>
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