[OpenLayers-Users] Info button in EditingToolbar
Mapmaker
bmcbride at chacompanies.com
Tue Mar 30 10:05:53 EDT 2010
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.
More information about the Users
mailing list