Select to view content in your preferred language

How to set a background color for a Map in Layout?

16426
12
09-22-2021 05:00 PM
wayfaringrob
Honored Contributor

I'm having a hard time getting the map frame to keep its background color once added to a layout. I've got a nice gray color in the Map tab:

rburkebsrc_0-1632504917471.png

 

On the layout tab, however, it's plain white, even if I change the background color of the data frame separately:

rburkebsrc_1-1632504979350.png

 

Is this the intended functionality of these settings? There are no polygons or anything on my map covering the "background" - and as shown above, it's looking fine on the map tab. I'm wondering if there's just another setting somewhere that I'm not thinking of.

0 Kudos
12 Replies
DanPatterson
MVP Esteemed Contributor

Is this what you are referring to?

Add and modify map frames—ArcGIS Pro | Documentation

As with other layout elements, a map frame can have a border, background, and a shadow. Backgrounds can be important because the background color of a map is not displayed in the map frame. Instead, the background of the map frame is used.


... sort of retired...
0 Kudos
AubriKinghorn
Esri Regular Contributor

Map backgrounds and map frame backgrounds (map frames are maps on a layout) are currently separate in Pro, that way one doesn't override the other. To change the map frame background: select the map frame in the Layout view, right-click and choose Properties to open the Element pane, then switch to the Display tab where you can change the background.

AubriKinghorn_0-1632367847821.png

 

Cheers,
Aubri
0 Kudos
AubriKinghorn
Esri Regular Contributor

That's curious. In the layout view it looks like the white is part of the basemap (the background draws behind every feature in the map), but it lets you update in map view so that doesn't seem correct. Can you tell me what basemap you are using? I'd like to test this out.

Cheers,

Aubri

Cheers,
Aubri
0 Kudos
RobertBorchert
Honored Contributor

When using base maps we do not set the background color because one would be covering up the other.  

the basemap by default would be about the back ground of the frame because it is a layer inside the frame.

0 Kudos
AubriKinghorn
Esri Regular Contributor

That makes sense, unfortunately I can't reproduce the behavior you are seeing. The background updates for me every time. It looks like you found a bug. I would report this to technical support https://support.esri.com/en/contact-tech-support. They can get a bug logged and sent to the proper development team to be fixed.  

Cheers,
Aubri
0 Kudos
wayfaringrob
Honored Contributor

Yes, I'm not using an Esri basemap on mine either - which is why I need to set a color. My solution for now was to add a graphic rectangle of the color I wanted that covers the layout extent.

 

0 Kudos
wayfaringrob
Honored Contributor

@AubriKinghorn  @DanPatterson  - this is what I'm showing in my second photo. I'm not able to change the background whether I set it on the map or in the data frame properties.

0 Kudos
RobertBorchert
Honored Contributor

Curious. 

to do it you need to be in the Layout View.  If you want to change the background for the entire thing and not  just your frame that contains the map. you can draw a neatline that takes up the entire page. Make the line no color but the background the color you want. 

0 Kudos
wayfaringrob
Honored Contributor

Yes, I'm in layout view. I just want the map background to be the same color as in the Map tab. My solution for now was to add a graphics rectangle to the map of the desired color, but I feel like there should be an easier way.

0 Kudos