<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CESTELL%7E1.ANC%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C03%5Cclip_filelist.xml"><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:HyphenationZone>21</w:HyphenationZone>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]--><style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:#606420;
        text-decoration:underline;
        text-underline:single;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Tableau Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->
<p class="MsoNormal"><span style="" lang="EN-GB">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">I have an issue
with the ScaleSelectorCombo developed by Cedric Moullet (<a href="http://dev.geoext.org/sandbox/cmoullet/ux/ScaleSelectorCombo/examples/ScaleSelectorComboExample.html">http://dev.geoext.org/sandbox/cmoullet/ux/ScaleSelectorCombo/examples/ScaleSelectorComboExample.html</a>).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">In my
interface, the Combobox allowing to switch scales stucks at “<i style="">1 : undefined”</i> (see in the attached).</span></p><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CESTELL%7E1.ANC%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C04%5Cclip_filelist.xml"><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:HyphenationZone>21</w:HyphenationZone>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]--><style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:#606420;
        text-decoration:underline;
        text-underline:single;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Tableau Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->
<p class="MsoNormal"><span style="" lang="EN-GB">I don’t
know where this issue comes from.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">I specify
that when I run the ScaleSelectorComboExample.html in my own server it works.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">Also, the zoom-chooser
example works (<a href="http://dev.geoext.org/trunk/geoext/examples/zoom-chooser.html">http://dev.geoext.org/trunk/geoext/examples/zoom-chooser.html</a>).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">Thanks
for any help.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">Estelle<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">Here is my code:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal">var map; </p>
<p class="MsoNormal"><span style="" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">Ext.onReady(function()
{<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">var
options, layer;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">options = {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>maxExtent: new OpenLayers.Bounds(0,
1300000, 1500000, 3000000),<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>maxResolution: 'auto',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>controls: [new
OpenLayers.Control.KeyboardDefaults(),new
OpenLayers.Control.MousePosition({"numDigits": 2}),new
OpenLayers.Control.Navigation(), new OpenLayers.Control.Scale()],<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>scales: [12500, 25000, 50000,
100000, 200000, 500000,1500000],<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>units: 'm',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>projection: new
OpenLayers.Projection("EPSG:27572"),<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>};<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">map = new
OpenLayers.Map(options);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">var
scaleSelectorCombo = new GeoExt.ux.form.ScaleSelectorCombo({<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>map: map,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>fakeScaleValue: ["12500",
"25000", "50000", "100000", "200000",
"500000","1500000"]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>});<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB">var
viewport = new Ext.Viewport({<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>layout:
'border',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>items:
[{<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>region:'center',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>id:
"mappanel",<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span></span>title:
‘Title’,<o:p></o:p></p>
<p class="MsoNormal"><span style=""> </span><span style="" lang="EN-GB">xtype: 'gx_mappanel',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>map:
map,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>split:
true,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>layers:
[wms18,wms7,wms5],<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>contentEl:
'center',<span style=""> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>bbar:
[scaleSelectorCombo] <o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span><span style=""> </span></span>}]<o:p></o:p></p>
<p class="MsoNormal"><span style=""> </span>});
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style=""> </span>}); </p>
                                           <br /><hr />Envie de naviguer sur Internet sans laisser de trace? <a href='http://clk.atdmt.com/FRM/go/207186970/direct/01/' target='_new'>La solution avec Internet Explorer 8</a></body>
</html>