Thanks Carsten,

I have committed this fix to udig trunk.

Thanks for the contribution.

Jesse

On Wed, Oct 13, 2010 at 3:34 PM, Carsten Ehbrecht
<[email protected]>wrote:

> Hi Jesse,
>
> it might happen that the wms layer is not shown in the map when several
> map-events occur. For example when you use the mouse-wheel to zoom and try
> to pan at the same time.
>
> I've made the following code change in the plugin
> net.refractions.udig.project, class
> net.refractions.udig.project.internal.render.impl.RenderJob. I changed in
> the method run() the while-loop condition:
>
>  while( !requests.isEmpty()  && !monitor.isCanceled() ) {
>    ...
>  }
>
> It checks now if the monitor was canceled and if so it will leave. Before
> this change the request-queue was run empty with a canceled monitor and
> rendering was not done. Now the run method is called again with a new
> monitor and the rendering is done for the requests left in the
> request-queue.
>
> Should this change go into the udig code?
>
> Cheers,
> Carsten
>
> -------- Original-Nachricht --------
> > Datum: Tue, 12 Oct 2010 08:17:46 +0200
> > Von: Jesse Eichar <[email protected]>
> > An: User-friendly Desktop Internet GIS <[email protected]
> >
> > Betreff: Re: [udig-devel] wms layer sometimes not rendered when using
> mapgraphics and resizing map-window
>
> > This is an odd issue.  So from the experimentation it sounds like the
> > issue
> > is somehow caused by the mapgraphic renderer?  Are there any exceptions
> > reported in the log?
> >
> > Jesse
> >
> > On Mon, Oct 11, 2010 at 2:36 PM, Carsten Ehbrecht
> > <[email protected]>wrote:
> >
> > > Hi,
> > >
> > > i've experienced the following problem with udig-1.2:
> > >
> > > * adding a wms layer
> > > * adding a mapgraphics layer, e.a the north angle
> > > * resize the map window
> > > * quite often the wms layer will not be shown!
> > >
> > > When i deactivate the mapgraphics layer then the rendering of the wms
> > layer
> > > seems to be ok. Also, when i use the zoom tools with an activated
> > > mapgraphics layer the wms rendering is ok.
> > >
> > > Do you know this rendering problem?
> > > What could be the cause of this problem?
> > >
> > > Cheers,
> > > Carsten
> > > _______________________________________________
> > > User-friendly Desktop Internet GIS (uDig)
> > > http://udig.refractions.net
> > > http://lists.refractions.net/mailman/listinfo/udig-devel
> > >
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to