Hello List,
I use a Thread to create several Layers from a Database.
My run-Method calls two other Methods.
First one to create and add the layers.
Second one to create a ColorThemingStyle-Object to add this to the
created Layer.
If the Layer holds a ColorThemingStyle-Object it should be removed and
the new one should be added.
By default my new Layers are holding a ColorThemingStyle-Object (Does
anybody know where this one will be added to the Layers Style List ?).
Immediately after I removed the "default" CTS-Object from the List it
will be added again at the end.
So I cannot remove this "default" CTS-Object.
After I added my new CTS-Object it looks like that the "default"
CTS-Object is still be used instead.
I found a workaround for that.
I add my new CTS-Object first and then I remove a CTS-Object with
"layer.removeStyle(ColorThemingStyle.get(layer));
Surprisingly the "default" CTS-Object has been removed and the new CTS
is shown.
Can anybody varify this behaviour and has a explanation for it ?
Greetings from Hannover,
Malte
begin:vcard
fn:Malte Weller
n:Weller;Malte
email;internet:[EMAIL PROTECTED]
tel;work:0551/762-19255
url:http://www.umwelt.uni-hannover.de
version:2.1
end:vcard
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel