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
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
