<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I&#8217;ve built a mechanism that allows me to store much of a map&#8217;s configuration in a server-side database.&nbsp; The server code reads the settings and builds a javascript object that it passes to a function on the browser that extracts the pieces it needs and constructs a map.&nbsp; This allows us to configure a site for different customers without having to modify the javascript.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The configuration object contains a map options object, an array of layer objects, and an array of control objects.&nbsp; Each layer object and control object contains a layer options object or a control options object.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>It&#8217;s been working fine, within its limits, but I just ran into something unexpected.&nbsp; We find for a customer we want to set OpenLayers.IMAGE_RELOAD_ATTEMPTS.&nbsp; And this isn&#8217;t an option on the map, or on any layer or control.&nbsp; It&#8217;s a global setting, independent of any map that might be constructed.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>It doesn&#8217;t look like it will be hard to retrofit into my scheme.&nbsp; I&#8217;ll simply have the javascript that handles the map settings object check to see if a setting is IMAGE_RELOAD_ATTEMPTS, and if it is, change the global setting.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>But my question is this: what other global settings of this sort are there?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>What map settings are available is documented in the map class&#8217;s source.&nbsp; Ditto for layers and controls.&nbsp; But OpenLayers.IMAGE_RELOAD_ATTEMPTS is just a variable in OpenLayers\Util.js.&nbsp; There&#8217;s another setting, next to it: OpenLayers.Util.onImageLoadErrorColor.&nbsp; But these aren&#8217;t part of a list of the global settings, they&#8217;re simply declarations near where they are used.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Are there other global settings of this sort, in the code?&nbsp; Are these documented anywhere?&nbsp; Is there any way of finding them, other than reading the entire codebase?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Thanks.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>