dispatch the Fusion/SET_ELEMENT_STATE redux action with your desired
visibility like so.
viewer.dispatch({
type: "Fusion/SET_ELEMENT_STATE",
payload: {
legendVisible: false,
selectionPanelVisible: false,
taskPaneVisible: true
}
});
The dispatched action will flow state changes back into the sidebar template
which will know to show the Task Pane and hide the others.
- Jackie
--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
_______________________________________________
mapguide-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapguide-users