Hi Maribel, You might want to try giving the select control a global variable and then activating/deactivating it on your button click.
var selectControl selectControl = new OpenLayers.Control.SelectFeature(layer) map.addControl(selectControl) To Activate: selectControl.activate(); To Deactivate: selectControl.deactivate(); BRYAN -- View this message in context: http://n2.nabble.com/Info-button-in-EditingToolbar-tp4824326p4824661.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
