[ka-Map-users] Legend is not visible in IE [solved]
dylan.beaudette at gmail.com
Wed Oct 25 12:59:22 EDT 2006
On Tuesday 24 October 2006 17:45, Dylan Beaudette wrote:
> Thanks Paul: replines in-line.
> On Tuesday 24 October 2006 17:06, Paul Spencer wrote:
> > I see that it doesn't appear with IE 7. However, using the dom
> > explorer tool, you can see that the image is actually in the page and
> > has the following url:
> > http://casoilresource.lawr.ucdavis.edu/ka-map-1.0.b1-20060817/htdocs/?
> > map=casoil
> > This image does load in IE 7 if loaded directly, not sure about IE6
> I can confirm that it did not load in IE6.
> > One possibility is that you are using PNG24 and it is not displaying
> > properly.
> My mapfile is using JPEG
> > Another possibility is that legend.php outputs a content-type: image/
> > png without checking to see what image format you are actually using,
> > so perhaps IE is getting confused. If you are using GIF or JPEG, try
> > modifying legend.php last line and see if it helps (if yes, I'll
> > commit a change to fix the legend output code)
> made the change to:
> header( 'Content-type: image/jpeg' );
> here is the link:
> > Cheers
> > Paul
The issue was solved last night in an IRC session with one of the very helpful
ka-map developers, and committed to CVS.
seems like static legends were being initialized with a 1px width and 1px
height-- which IE would not accept.
Soils and Biogeochemistry Graduate Group
University of California at Davis
More information about the ka-Map-users