[Cartoweb-users] multiple Delete Button editplugin
Oliver Christen
oliver.christen at camptocamp.com
Wed Nov 14 08:56:40 EST 2007
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 at 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 at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20071114/25dc956d/attachment.html
More information about the Cartoweb-users
mailing list