Select to view content in your preferred language

changing the background on the Overview map

687
1
Jump to solution
05-01-2012 02:13 AM
Salomon_VágadalJoensen
Deactivated User
I've made a small hack for changing the background colour of a map, thusly:
dojo.byId("map_root").style.cssText += "background-color:#99B3CC; ";


I've tried doing the same for the overview map, but either the entire overview map changes the colour, or nothing changes. I've tried this on the dijits: esri_dijit_OverviewMap_0-map_graphics_layer and esri_dijit_OverviewMap_0-map_gc

Is there a legitimate way to alter the overview map background colour?
0 Kudos
1 Solution

Accepted Solutions
KellyHutchins
Esri Notable Contributor
Just ran a quick test and the css below works for me for both the map and overview map:

          .map .container{         background-color:#99B3CC;       }

View solution in original post

1 Reply
KellyHutchins
Esri Notable Contributor
Just ran a quick test and the css below works for me for both the map and overview map:

          .map .container{         background-color:#99B3CC;       }