Hi deleting a feature is a complex action and emulating it would be fairly complex, even I wouldnt want to touch that.
if you really really want to do it, the functions called on delete is DeleteFeatureTool.prototype.onMouseDown in dhtmlAPI.js but I have no idea what you need to copy or modify so you can call it with a clic on a button instead of a clic on the map, sorry. regards Oliver ----- Original Message ----- From: Broun Uganda To: cartoweb-users@lists.maptools.org Sent: Wednesday, November 14, 2007 1:20 PM Subject: [Cartoweb-users] multiple Delete Button editplugin In my edit plugin i want to include a tickboxes (similar to radio buttons). The purpose of these tick boxes is that i should do multiple selection of features and then delete them all at once. What part of code do i need to change so that by clicking on these tick boxes the edit rows are crossed out and then i have a button (delete_all). Thank you Broun Uganda ------------------------------------------------------------------------------ Discover the new Windows Vista Learn more! ------------------------------------------------------------------------------ _______________________________________________ Cartoweb-users mailing list Cartoweb-users@lists.maptools.org http://lists.maptools.org/mailman/listinfo/cartoweb-users
_______________________________________________ Cartoweb-users mailing list Cartoweb-users@lists.maptools.org http://lists.maptools.org/mailman/listinfo/cartoweb-users