Hi Alexandre!

Thanks for your help. The first part works just great. But there is an error
in the second part, when I change the status of checkbox from true to false.
My code is below:

                        else
                        {
                                
drawControls["modify_wfs_layer"].unselect(selectedfeature);
                                drawControls["modify_wfs_layer"].deactivate();
                                
drawControls["chooseobject"].selectControl.select(selectedfeature);
                                drawControls["chooseobject"].activate();
                        }       


I got an error that:
drawControls.modify_wfs_layer.unselect is not a function

When I comment line
drawControls["modify_wfs_layer"].unselect(selectedfeature); then I got an
error:
drawControls.chooseobject.selectControl is undefined

Do you know what is wrong in here??

Cheers,
Poul




-- 
View this message in context: 
http://n2.nabble.com/Modify-object-other-then-from-muse-click-tp4504224p4540752.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to