[OpenLayers-Users] Updating Text Layer - flickering markers

Ran Manor ran.manor at gmail.com
Tue Oct 20 04:47:38 EDT 2009


Hi,

Sorry, but I got the same flicker with the bbox strategy.

As far as I can see, the flicker comes from the merge function where the
features are being destroyed and re-created.
Maybe I should subclass a new strategy that first checks for changes in the
features before destroying them.

- Ran


On Tue, Oct 20, 2009 at 06:05, Andreas Hocevar <ahocevar at opengeo.org> wrote:

> Hi,
>
> sorry, I gave you some wrong directions. Instead of the Fixed
> strategy, you should use the BBOX strategy. To update, call
>
> strategy.update({force: true});
>
> Regards,
> Andreas.
>
> 2009/10/19, Ran Manor <ran.manor at gmail.com>:
> > Ok, this time I did it correctly like you said, but I still get a
> flicker.
> > Anything else I can try?
> > Thanks.
> >
> > - Ran
> >
> >
> > On Mon, Oct 19, 2009 at 01:25, Andreas Hocevar <ahocevar at opengeo.org>
> wrote:
> >
> >>
> >> Don't use Layer.GML, but Layer.Vector. Configure it with a HTTP protocol
> >> with Text format and a Fixed Strategy. To reload, do strategy.load().
> >>
> >> Regards,
> >> Andreas.
> >>
> >>
> >
>
> --
> Von meinen Mobilgerät aus gesendet
>
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091020/3ec8e2b7/attachment.html


More information about the Users mailing list