Hi Phillipe, Try changing the listener bit from
this.mapPanel.map.zoomToExtent( to mapPanel.map.zoomToExtent( ----- Bryan R. McBride, GISP http://www.bryanmcbride.com bryanmcbride.com http://geoserving.net/ geoserving.net -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Define-several-states-of-view-Zoom-Area-tp5427671p5456799.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users