|
From: Oliver G. <ol...@dr...> - 2010-01-12 16:41:35
|
hi, currently i have a legend. if i turn off the checkbox in the legend: layer.setVisible(false); later in the process: wrappedPane.repaint(); .....wrappedPane is my JMapPane if i turn on the checkbox in the legend layer.setVisible(true) later in the process: wrappedPane.repaint(); oddly the points disappear and reappear but the labels do not. i know there is a wrappedPane.reset(); but i think that gives full extent on reset. does this have to do with the labelCache of JMapPane? what steps should i take on a setVisible for a layer to get my JMapPane to repaint correctly? oliver |