[ka-Map-users] PNG transparency in IE - some conclusions

Ehud Shabtai eshabtai at gmail.com
Fri Apr 28 02:52:35 EDT 2006


I think these changes should be merged to CVS. They only affect layers
with "imageformat = alpha", so I don't expect any regressions.

Paul, what do you think?

Pedro, how do you change the layer opacity? Through the map file?

On 4/28/06, Pedro Garcia <pedro.gspace at gmail.com> wrote:
> Ehud,
>
> Congratulations!!! PNG24 transparency is working in IE!!!
> I tested in:
>   * Windows XP SP2
>   * IE 6.0
>   * Firefox 1.5
>   * ka-Map latest CVS version
>
> I tested with a map with 2 layers:
>   1) A Ikonos raster image with 4m pixel resolution;
>   2) A vector polygonal layer with labels and two
>      metadata info, as you can see:
>
>     NAME "shpBairros"
>     GROUP "Bairros"
>     STATUS ON
>     DATA "/ms4w/apps/MapaVix/Shapes/Bairros.shp"
>     TYPE POLYGON
>     UNITS METERS
>     SIZEUNITS PIXELS
>     LABELITEM "Text"
>     TOLERANCE 0
>     TOLERANCEUNITS PIXELS
>     METADATA
>       "imageformat"    "ALPHA"
>       "opacity"    "80"
>     END
>
> OBS: The full mapfile is attached.
>
> I can test it in Windows 2000 late.
>
>  Take a long time to translate your diffs to my local copy
> to test it, so I'm attaching the modified files so others
> can test it more easily.
>
> But I found a problem: when I try to change the vector layer
> transparency, the layer disappears, but if I turn of, and turn
> on after, the layer appears again. But I think you're going
> in the right direction to the solution. Congratulations again,
> with your code whe are next to solve the most critical
> issue in ka-Map portability in my opinion.
>
> I'm attached 2 sreenshots, 1 with Firefox and other with IE,
> and you can see clearly the transparency.
>
> regards,
>
> Pedro Garcia.
>
> 2006/4/11, Ehud Shabtai <eshabtai at gmail.com>:
> >
>  Jacob,
>
> I can't reproduce it.
>
> I'm using IE 6.0 which version do you use?
>
> Ehud.
>
> On 4/11/06, Delfos, Jacob <jacob.delfos at maunsell.com> wrote:
>  > Ehud,
> >
> > During panning, the whole map sometimes turns black. As soon as I let go
> > of the mouse, it becomes normal again. Sometimes if I let go of the
> > mouse before it turns black, it becomes black once it finishes loading,
> > and turns normal when I press the mouse down.
> >
> > Also, when turning the satellite image off, and then on again, the
> > entire page turns black once it has finished loading (see attached
> > screenshot). This only happens in IE. Is it to do with the application
> > of the PNG-hack?
> >
> > Regards,
> >
> > Jacob
> >
> >
> > > -----Original Message-----
> > > From: ka-map-users-bounces at lists.maptools.org
> > > [mailto:ka-map-users-bounces at lists.maptools.org] On
> Behalf Of
> > > Ehud Shabtai
> > > Sent: 11 April 2006 14:57
> > > To: Shoaib Burq
> > > Cc: ka-Map-users at lists.maptools.org
> > > Subject: Re: [ka-Map-users] PNG transparency in IE - some conclusions
> > >
> >
> >
> >
>
>
> --
> Ehud Shabtai
> http://www.freemap.co.il/map/
>
> _______________________________________________
> ka-Map-users mailing list
>  ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
>
>


--
Ehud Shabtai
http://www.freemap.co.il/map/



More information about the ka-Map-users mailing list