Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Tiled Rendering and MapGraphics

Okay I think that makes sense to me now.  Sorry I was still stuck back in render
manager world.  I will see what I can do and let you know if I'm successful.

Thanks,
Emily

Quoting Jody Garnett <jody.garnett@xxxxxxxxx>:

> Emily Gouge wrote:
> > Sorry, but I'm still confused?
> >
> > > 0. Behind the scenes make an image the size of the screen
> > Are you proposing I change the mapgraphic renderer?
> Yes. You have changed the "contract" that all renderers are trying to
> follow (namely to render into tiles) as such we need to change (or
> rewrite) the mapgraphic renderer. The actual contract with the map
> graphic implementors will probably not need to be changed.
> 
> In short the mapgraphic extension point should not be changed; the code
> that processes it will be new and/or different.
> > Make it render an image for each mapgraphic the size of the screen
> > whenever there is a viewport model change event?
> Indeed; although it would be nice to know if it is the kind of
> mapgraphic that cares about the viewport model - you may be able to add
> an (optional) attribute to the mapgraphic extension-point - so that
> implementors can "mark" the implementations that care to be redrawn
> everytime the viewport model changes; you may wish to set up an
> enumeration (rather than a true/false) so that you can indicate interest
> in a) change of scale b) change of viewport bounds etc...
> 
> All the best,
> Jody
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
> 






Back to the top