Custom view on the RightPanelRegion
I would like to display my custom view on the 'RightPanelRegion'. Changing the target region to 'RightPanelRegion' did not help.
So I would like to know how to configure the view so that it is displayed on the right panel region.
Thanks,
Mahender
0
-
Maybe this is too obvious but did you make the RightPanelRegion visible in addition to adding your custom module to it? 0 -
Yes, I did. 0 -
Any luck getting this to work? I am looking into it as well and haven't figured it out yet.
-- Marc0 -
Nope, I could not find any help in the Administer and developer guide. There is only one text showing "RightPanelRegion" in the appendix 'Regions'. 0 -
I found a way to get teh RightPanelRegion to display.
It appears that is it is just an issue with the css not giving the right panel any size as you can see it in code inspector. In my custom css I added the following to have the RightPanelRegion show on the viewer:
.large-shell-right{
top:0;
right: 0;
bottom:0;
width:350px;
background-color:white;
}
I also had to call the MapResize and recenter commands to have it adjust the map accordinginly. Since I have a custom module I added the commands in my code, though could also run them via a workflow if needed.
this.app.commandRegistry.command("RecenterMapOnNextMapResize").execute();
this.app.commandRegistry.command("MapResize").execute();
-- Marc0
Please sign in to leave a comment.
Comments
5 comments