You should not need to create a Dynamic Style Setting
panel directly. You can access the Style Setting panel of the Map
Layer Tree panel using the getThemePanel
method.
This panel is attached to the
IlvMapStyleControllerProperty property of the manager (and its underlying
IlvMapStyleController
).
It is updated when the user adds/deletes dynamic styles (using the
and
buttons, see
Dynamic Style Setting panel ),
or when you add dynamic styles with API calls such as:
IlvMapStyleController themeControl = IlvMapStyleControllerProperty.
GetMapStyleController(view.getManager());
themeControl.addTheme(0.001,mapLayer,"new style");
themeControl.getStyle(mapLayer,0.001).setVisibleInView(true);