[OpenLayers-Users] IE8 problem with VMS

Enrico Sartorello enrico.sartorello at gmail.com
Fri Apr 23 10:05:55 EDT 2010


I'm rendering something like 30-40 features, all squares filled with a
color.

I don't think it's a problem of resources because if I use "EmulateIE7" the
layer is displayed quite smoothly (but I have some other compatibility
issues), and also with the other browsers I don't have problems at all.

On Fri, Apr 23, 2010 at 3:52 PM, <bartvde at osgis.nl> wrote:

> How many features are you rendering, and how complex are there geometries?
>
> VML is known to be slow unfortunately, so you're easily running into the
> browser's limits here.
>
> Best regards,
> Bart
>
> > Thank you very much: now using the hosted version (r10129) I can get it
> > work, but with other problems.
> >
> > The problem is that the vector layer loading is very very slow: IE takes
> > all
> > the CPU and runs for a very long time before rendering all. After getting
> > the layer rendered, the navigation on the layer is extremely slow as
> well.
> >
> > I've tried some patches for memory leaks (
> > http://trac.openlayers.org/ticket/2170) without any results.
> >
> > Again, this is a problem only experienced with IE8.
> >
> > What should I do?
> >
> > On Fri, Apr 23, 2010 at 2:46 PM, Frank Broniewski <brfr at metrico.lu>
> wrote:
> >
> >> Hello,
> >>
> >> try to make sure that you start the map initialisation when everything
> >> else is loaded. I used to use Jquery's $(document).ready() but needed to
> >> switch to $(window).load() because ready() fired to early ...
> >>
> >> Frank
> >>
> >> Am 23.04.2010 13:56, schrieb Enrico Sartorello:
> >> > Hi,
> >> >
> >> > I'm experiencing some troubles using OL 2.9 with IE8.
> >> > I'm trying to add to my OpenLayers map a vector layer: it works
> >> > perfectly on FF\Chrome, but in IE8 there's an error.
> >> >
> >> > Inside map.addLayer() call, the problem arises in VML.js, lines
> >> 147-160:
> >> > basically, what I've found debugging is that vars this.root,
> >> > this.vectorRoot, this.textRoot have all the attributes (even style,
> >> > which is the one used in those lines) set to "Failed". Only
> >> > this.rendererRoot has right values.
> >> >
> >> > The vector layer is loaded after window.onload, coupled with the
> >> opening
> >> > of an AJAX panel.
> >> > Using "EmulateIE7" mode doesn't solve anything.
> >> >
> >> > What can it be?
> >> > Thanks in advance for your attention :-)
> >> >
> >> > --
> >> > Enrico Sartorello
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > Users mailing list
> >> > Users at openlayers.org
> >> > http://openlayers.org/mailman/listinfo/users
> >>
> >>
> >> --
> >> Frank BRONIEWSKI
> >>
> >> METRICO s.à r.l.
> >> géomètres
> >> technologies d'information géographique
> >> rue des Romains 36
> >> L-5433 NIEDERDONVEN
> >>
> >> tél.: +352 26 74 94 - 28
> >> fax.: +352 26 74 94 99
> >> http://www.metrico.lu
> >> _______________________________________________
> >> Users mailing list
> >> Users at openlayers.org
> >> http://openlayers.org/mailman/listinfo/users
> >>
> >
> >
> >
> > --
> > Enrico Sartorello
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> >
>
>
>


-- 
Enrico Sartorello
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100423/17bd0121/attachment.html


More information about the Users mailing list