r1739
Back in addLayer() of Map.js,
when adding an overlay, we call getExtent() and if it has a value, we
call moveTo() on the layer... essentially drawing it.
however, there is a fringe case (and maybe several) where when the baselayer
is created and added to the map, even if the map has no center set, the baselayer
*does*, and therefore is able to return a valid extent.
the case in point here is VE, who automaticallly loads to a bbox around the usa.
so heres the dig. current code does this:
var extent = this.getExtent();
if (extent) {
layer.moveTo(extent, true);
}
we want it to do this:
if (this.getCenter() != null) {
layer.moveTo(this.getExtent(), true);
}