Hi Arnd, it is a good question that you ask. Unfortunately, I think the answer is "no". I looked here:
http://code.google.com/apis/maps/documentation/reference.html#GMap2 ...but can find no redraw() method or anything of the sort :-( erik On 3/4/08, Arnd Wippermann <[EMAIL PROTECTED]> wrote: > Hi, > > Works this also on google layers etc. or only for WMS, WFS? I often got not > all google tiles and to reload the layer, my only idea was to zoom out and > zoom in, but this cause all layers to get their tiles for the new zoomlevel. > > function googleRedraw() > { > zoom one level up; > zoom one level down; > } > > Mit freundlichen Grüssen > > Arnd Wippermann > http://gis.ibbeck.de/ > > > > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im > Auftrag von Erik Uzureau > Gesendet: Dienstag, 4. März 2008 18:18 > An: Tim Schaub > Cc: [email protected] > Betreff: Re: [OpenLayers-Users] Reload Layer > > it may be worthy of mention that this forced redrawing is now supported in > trunk as: > > layer.redraw(true); > > see definition below: > > /** > * APIMethod: redraw > * Redraws the layer. Returns true if the layer was redrawn, false if > not. > * > * Parameters: > * force - {Boolean} Force redraw by adding random parameter. > * > * Returns: > * {Boolean} The layer was redrawn. > */ > redraw: function(force) { > if (force) { > return this.mergeNewParams({"_olSalt": Math.random()}); > } else { > return OpenLayers.Layer.prototype.redraw.apply(this, []); > } > }, > > > > > > On 3/4/08, Tim Schaub <[EMAIL PROTECTED]> wrote: > > Hey- > > > > Gérald Quintana wrote: > > > Is there way to avoid image flickering when a layer is refreshing? > > > > Depends what type of layer you're talking about. If you really mean > > layers that use images, then this ticket addresses the issue: > > > > http://trac.openlayers.org/ticket/933 > > > > Tim > > > > > > > > Gérald > > > _______________________________________________ > > > Users mailing list > > > [email protected] > > > http://openlayers.org/mailman/listinfo/users > > > > > > !DSPAM:4033,47cbc70716951804284693! > > > > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://openlayers.org/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
