Hello, I have a comparison app up at <a href="http://niceguy.wustl.edu/NEISGEI/FireComp">http://niceguy.wustl.edu/NEISGEI/FireComp</a><br><br>I'm using 5 total maps, and I'm only giving movement control to one of them.
<br>So, I have a listener that when the big map is moved, I call setCenter on the other maps, like this:<br><br>function map3moveEndFunc(){<br> map1.setCenter(map3.getCenter(), map3.getZoom() - 1);<br> map2.setCenter
(map3.getCenter(), map3.getZoom() - 1);<br> map4.setCenter(map3.getCenter(), map3.getZoom() - 1);<br> map5.setCenter(map3.getCenter(), map3.getZoom() - 1);<br>}<br><br>(map3 is by 'big' map, with all the movement).
<br><br>For some reason, the last 2 calls (map4.setCenter, and map5.setCenter) throw an error:<br>Error: maxExtent has no properties<br>Source File: <a href="http://openlayers.org/api/2/OpenLayers.js">http://openlayers.org/api/2/OpenLayers.js
</a><br>Line: 488<br><br>Something about map4 and map5 is apparently different, as any calls to setCenter on these maps throw this error.<br>I can't seem to find anything that's different though.<br><br>Does anybody have any ideas about what might throw this error?
<br><br>Thanks!<br>-Ed<br>