On Sat, Jan 15, 2011 at 7:59 PM, Francisco M. Santana Verona <[email protected]> wrote: > Greetings! > > I need to restrict the navigation on my maps (move map and GetFeatureInfo) > to the BBOX of each one. That is, the user can't move the map beyond the > BBOX coordinates and is unable to GetFeatureInfo too. > > Is it possible? How can I do it?
With the restrictedExtent option on the Map. <http://dev.openlayers.org/releases/OpenLayers-2.10/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.restrictedExtent>. PS: please use the "users" mailing list for questions unrelated to the internals of the lib. Thanks. -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-dev
