Hi All,<div><br></div><div>I&#39;m happily using map.getCenter in a conditional statement </div><div><br></div><div>if( ! map.getCenter() ){</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>sites.events.register(&#39;loadend&#39;, sites, function(){map.zoomToExtent(sites.getDataExtent())});</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>map.setCenter(null, null);</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>};</div><div><br></div><div>which when my layer is loaded centers on the geometry in the map. This works great (thanks again, Jan!). The issue I have is when a single POI is loaded, the map zooms in all the way and I get the &quot;Mose OSM coming soon&quot; tiles which is not aesthetically pleasing. </div>
<div><br></div><div>I&#39;m going to switch over to a NASA Landsatt, or perhaps an image layer as the base, but I still think this will be an issue. Is there anyway to constrain this, or to specify a minimum bounding box or zoom level to prevent this from happening? The alternative would be to just set the function on one of my static GML files, but I like this feature. Any suggestions on how to approach this?</div>
<div><br></div><div><br></div><div><br>-- <br>Nicholas Efremov-Kendall<br>Fulbright Student 2009-2010, Ukraine<br><a href="mailto:nefremov@artsci.wustl.edu">nefremov@artsci.wustl.edu</a><br>c/o Halyna Yerko<br>Balzaka 92a, Kv 27<br>
02232<br>Kyiv, Ukraine<br>(mob) +380963576524<br>
</div>