On Fri, Oct 12, 2007 at 04:19:36PM +0200, Bart van den Eijnden (OSGIS) wrote:
> So it seems zooming outside of the maxExtent results in problems? Or are we
> missing something? TIA.
I'm not sure if I missed something, but:
if (!this.center && !this.isValidLonLat(lonlat)) {
lonlat = this.maxExtent.getCenterLonLat();
}
If the lonlat isn't valid, zooming in on the lonlat will scoot you back
to the middle of the map.
Regards,
--
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users