[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-devel] Tiled Rendering and MapGraphics
|
All,
I'm trying to clean up the the tiled rendering system I worked. One of
the things I'm currently looking at is trying to get mapgraphics to work
nicely with it.
My understanding is that currently mapgraphics pay attention to the
bounds of the screen. So in my tiled rendering system they are paying
attention to the bounds of the screen and using that information to draw
onto the tiles. These tiles don't match up with the screen so as a
result you get some fun results:
* legends, north arrows, etc on every tile.
* grids only partially filled in (if then render tiles are bigger than
the screen only what would fit on the screen is filled in on the render
tile).
So how to fix this?
One option is to not use the tiled rendering system for mapgraphics.
As a result mapgraphics would always render on top of the tiles and you
couldn't have map graphics in between layers or at the bottom of the
stack. My feeling is that this is undesirable behaviour.
Another option may be to have the mapgraphics pay attention to the
render bounds as well as the screen bounds and size; but I think this
will cause a lot of unnecessary complexity in the mapgraphics.
Does anybody have an other ideas on how to fix this problem?
Thanks,
Emily