<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:12pt;color:#000000;"><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; ">Hi,</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; ">I am having problems with my restricted extent in IE.</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; ">If I could write the app another way I would but by using the restricted extent I can set the start extent of the app. Using lon, lat to setCenter etc just gives me more errors about dateline wrap.</div><div style="color: rgb(0, 0, 0);
font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; ">It seems that when then map is loaded and the restricted extent has been set, if I try to pan without zooming, I get an error.</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; ">Has anyone esle had this error and managed to solve it?</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; ">yours,</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size:
12pt; ">Rob </div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; "><div>map = new OpenLayers.Map("map",{</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>controls: [new OpenLayers.Control.MouseDefaults()</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>,new OpenLayers.Control.PanZoomBar()</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>,new OpenLayers.Control.MousePosition()</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>,new OpenLayers.Control.ScaleLine({geodesic: true})],</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>projection:epsg900913,</div><div>
displayProjection: epsg900913,</div><div> units: "m",</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>maxResolution: 156543.0339,</div><div> maxExtent: new OpenLayers.Bounds(1069506.899621, 6727760.984838, 1268243.173127, 6945347.635727),</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>restrictedExtent: new OpenLayers.Bounds(871993.618568, 6598044.280668, 1483489.84474, 7087241.261605)</div><div><span class="Apple-tab-span" style="white-space:pre">                </span></div><div> });</div></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">var mappanel = new GeoExt.MapPanel({</font></div><div><font
class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-tab-span" style="white-space:pre">                </span>id:'mappanel',</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> region:"center",</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> height: 400,</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> width: 600,</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> map: map,</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-tab-span" style="white-space:pre">                </span>bbar:[{</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> <span class="Apple-tab-span" style="white-space:pre">
        </span>xtype: "label",</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> <span class="Apple-tab-span" style="white-space:pre">        </span>text: "Maßstab = 1 : "</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> <span class="Apple-tab-span" style="white-space:pre">                </span>}],<span class="Apple-tab-span" style="white-space:pre">                        </span></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-tab-span" style="white-space:pre">                </span>tbar: [</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-tab-span" style="white-space:pre">                        </span>toolbarItems,'','-',{</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> icon: '../images/printer.png',</font></div><div><font
class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-tab-span" style="white-space:pre">                        </span>tooltip: {title:'Export',text: 'Karte als PDF-Datei exportieren'},</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> handler: function() {</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> // convenient way to fit the print page to the visible map area</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> printPage.fit(mappanel, true);</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> // print the page, optionally including the legend</font></div><div><font class="Apple-style-span" face="arial,
helvetica, sans-serif"> printProvider.print(mappanel, printPage);</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> },</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-tab-span" style="white-space:pre">                        </span>allowDepress: false,</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-tab-span" style="white-space:pre">                        </span>pressed: false,</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-tab-span" style="white-space:pre">                        </span>checked: true</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-tab-span" style="white-space:pre">        </span> },'->','Ortssuche',' ','
',quickzoom,geoNameSearchCombo]</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> });</font></div><div><span class="Apple-tab-span" style="white-space: pre; "><font class="Apple-style-span" face="arial, helvetica, sans-serif">        </font></span></div></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 12pt; position: fixed; "></div>
</div></body></html>