[ka-Map-users] IE & label drawing
Sacha Black
sacha.black at gmail.com
Fri Aug 10 20:36:34 EDT 2007
i never got good results when i tried to have labels on a layer by
themselves... i think it's a problem of browser support for
transparency in tiles, and also maybe a problem with anti alias.
in the end i created duplicate sets of tiles - one with labels one
without. this gives the same effect to the user, but without the
problems above.
sorry no help for a better solution,
s
On 8/8/07, Suvi Mikkola <suvi.mikkola at gmail.com> wrote:
> Hi Sacha,
>
> I've been working with this problem a couple of frustrating days and
> haven't solved it.
>
> > - Are the labels being drawn as part of the map image?
> Yes, they are. They are in their own layer. I checked from the cache,
> and there the imagetiles are drawn ok (as they should be).
>
> > - what is the image format and OUTPUTFORMAT you are generating in
> > kamap and mapserver - ie. GIF, JPG, PNG etc.?
> It's PNG. I've tried all the others too, but in this case the result
> is the same.
>
> > - what version of internet explorer did you see this problem in? 6? 7?
> IE6 shows only those dots and IE7 shows the labels but in wrong color
> and they look also cluttered.
>
> > - what font (and font type) are you using, and did you try any other
> > fonts to see if the problem is reproduced?
> I've used truetype. I also tried bitmap, and it looked ok in IE, but I
> don't want to use it because of its limited capabilities. Different
> truetype fonts didn't solve the problem either...
>
> Frustrating, isn't it :/
> Thanks anyway.
>
> BR,
> Suvi
>
>
> On 8/9/07, Sacha Black <sacha.black at gmail.com> wrote:
> > hi Suvi,
> >
> > I saw your JPG and the labels does look terrible. It's a very strange
> > case.... some questions to think about:
> >
> > - Are the labels being drawn as part of the map image? or as an
> > overlay of some kind? If they are part of the map image itself, then
> > since these tiles are cached, I don't know how they can be displaying
> > differently...
> >
> > - what is the image format and OUTPUTFORMAT you are generating in
> > kamap and mapserver - ie. GIF, JPG, PNG etc.?
> >
> > - what version of internet explorer did you see this problem in? 6? 7?
> >
> > - what font (and font type) are you using, and did you try any other
> > fonts to see if the problem is reproduced?
> >
> > just some ideas.
> >
> > sacha
> >
> > On 8/7/07, Suvi Mikkola <suvi.mikkola at gmail.com> wrote:
> > > Hi, I tried to find answer from the archives, but didn't find any, so...
> > >
> > > I'm having a bit strange label problem with Internet Explorer (tried
> > > to attach jpg but my mail didn't pass...): they are drawn funnily and
> > > parts of the letters are
> > > missing. For example, if have letter O, only the corners of it are
> > > drawn (so that I have four dots).
> > >
> > > With all the other browsers I've tested, labels are drawn just fine.
> > > I think this problem is coming from ka-map, because I tested the map
> > > with MapServer only, and the labels were drawn just fine also in IE. I
> > > know that IE sucks, but still many people use it...
> > >
> > > I really don't know what to do with this problem. Have you any idea
> > > where this problem is coming from?
> > >
> > > BR,
> > > Suvi Mikkola
> > > _______________________________________________
> > > ka-Map-users mailing list
> > > ka-Map-users at lists.maptools.org
> > > http://lists.maptools.org/mailman/listinfo/ka-map-users
> > >
> > _______________________________________________
> > ka-Map-users mailing list
> > ka-Map-users at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/ka-map-users
> >
>
More information about the ka-Map-users
mailing list