<div>Hi,</div><div><br></div><div>Some of OpenLayers.Controls makes error, firebugs says Is not a constructor...</div><div><br></div><div>I put them in the map with:</div><div><br></div><div>action = new GeoExt.Action({</div>
<div>control: new OpenLayers.Control.ZoomToMaxExtent(),</div><div>        map: map,</div><div>        //text: &quot;max_extent&quot;,</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>iconCls: &quot;zoom_extent&quot;,</div>
<div>        tooltip: &quot;zoom to max extent&quot;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>});</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>actions[&quot;zoom_extent&quot;] = action;</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>toolbarItems.push(action);</div><div><br></div><div>I add ZoomBox and DragPan and both works, but ZoomTo MaxExtent, NavigationHistory and some else doesn&#39;t. Why is it?</div>
<div>If I try to put them on the var map:</div><div><br></div><div>var map = new OpenLayers.Map({</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>div:&quot;map_id&quot;, </div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>maxResolution: &#39;auto&#39;,</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span>projection: &quot;EPSG:4326&quot;,</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>controls: [</div><div><span class="Apple-tab-span" style="white-space:pre">                                                        </span>new OpenLayers.Control.Navigation(),</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                                                                        </span></div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span>],</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>});</div>
<div><br></div><div>The same thing happen, some of them works and others doesn&#39;t...</div><div><br></div><div>Thanks!!</div><div><div><br></div><div><br></div>-- <br><a href="http://kikocanas.blogspot.com" target="_blank">http://kikocanas.blogspot.com</a><br>

</div>