Screen resolution issue

407
1
08-21-2013 10:27 AM
LuisGarcia2
Occasional Contributor II
I defined a Map like this in XAML:

<esri:Map Background="White" Name="map1" WrapAround="True" Margin="9,9,9,9" Panel.ZIndex="0" MouseRightButtonDown="map1_MouseRightButtonDown" MouseLeftButtonDown="map1_MouseLeftButtonDown" PreviewMouseDown="map1_PreviewMouseDown">
                <!--Height="779"-->
                <i:Interaction.Behaviors>
                    <esri:MaintainExtentBehavior />
                </i:Interaction.Behaviors>                
            </esri:Map>


I upload world topography map later on in the code with this code:

      ...
            ArcGISTiledMapServiceLayer bl = new ArcGISTiledMapServiceLayer();
            bl.ID = "WorldMap";
            bl.Url = "http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer";
      ...


Basically there is no max height or max width set. So, I was expecting the map would fill any screen resolution. In development the max resolution we have is 1920 x 1080. However, we have clients in our company (the application is for internal use only) that have these huge monitors with higher resolutions. They end up seeing the map in the middle of the control and two white strips (one on top one in the bottom) between the end of the world map and the edge of the control. Any ideas how to prevent that? I want the map to fill the control, is there a setting on the server side for that?

Thanks!
0 Kudos
1 Reply
LuisGarcia2
Occasional Contributor II
Any ideas about this?
Thanks!
0 Kudos