Skip to main content

Custom view on the RightPanelRegion

Comments

5 comments

  • Permanently deleted user
    Maybe this is too obvious but did you make the RightPanelRegion visible in addition to adding your custom module to it?
    0
  • Permanently deleted user
    Yes, I did.
    0
  • Marc Rempel
    Any luck getting this to work?  I am looking into it as well and haven't figured it out yet.

     

    -- Marc
    0
  • Permanently deleted user
    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
  • Marc Rempel
    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();

     

    -- Marc
    0

Please sign in to leave a comment.