// reserve this area of the screen so labels are not drawn here
context.getLabelPainter().put( location );
Hope it helps?
-- Jody Garnett
On Thursday, 22 December 2011 at 12:38 AM, Elena Pechko wrote:
Thank you, Jody.
Can you please give me a hint which method should I call or point me
to the code snippet?
Regards, Elena
On 21.12.2011 16:50, Jody Garnett wrote:
This problem was fixed by asking map graphics (such as
legend) to reserve their area of screen with the label cache.
That when the label cache draws; it knows to avoid the reserved
areas.
Emily has recently done some work on label cache (to allow
for better integration with her tiled rendering system). So
checking that this functionality is still working as intended
would be a good move.
--
Jody Garnett
On Wednesday, 21 December
2011 at 11:19 PM, Elena Pechko wrote:
Hello list!
We are using uDIg 1.1.1 and faced with the problem
that shapefile labels
(e.g. city names) are on top of the legend even if
the legend is the top
layer.
I found only this old post discussing the
transparency problem: