Toan Nguyen wrote: > Thank you, > But I don't understand exactly your mean. > I have created some StyledLayerDescriptor for each color. Then declare > a variable in GmlRendererOL, that variable will points to > StyledLayerDescriptor that user select.
So you want to change root config properties during runtime? That is not what those are made for. But if you already have a SLD file, why don't you just load the selected SLD file into your StyledLayerDescriptor model? The GmlRendererOL will automatically reload, because the loadModel event of the StyledLayerDescriptor will trigger that. Regards, Andreas. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
