I think this code is not a button but just a function to select a region. If you don't call it in the interface, it won't do anything ! I am not an expert in javascript so I may tell you something wrong ! Someone to confirm ?
Y. Le Jeudi 8 Juin 2006 18:57, Fabio D'Ovidio a écrit : > I have enabled this button in order to select only a point and not a > rectangle : > > > Map.prototype.edit_sel = function(aDisplay) { > this.resetMapEventHandlers(); > this.getDisplay(aDisplay).setTool('sel.point'); > this.onSelPoint = function(x, y) { > myform.selection_coords.value = x + "," + y; > myform.selection_type.value = "point"; > storeFeatures(); > doSubmit(); > } > }; > > in dhtmledit.js file. > > > Why don't my changes have effects in my project??? > > Thank you ! > *************************************************************************** >***************** > > > Ing. Fabio D'Ovidio > WebGIS Staff > Planetek Italia Srl > via Massaua, 12 - 70123 Bari - Italy > web : http ://www.planetek.it > e-mail : [EMAIL PROTECTED] > > *************************************************************************** >***************** -- Yves Jacolin ------------- http://yjacolin.gloobe.org http://softlibre.gloobe.org _______________________________________________ Cartoweb-users mailing list Cartoweb-users@lists.maptools.org http://lists.maptools.org/mailman/listinfo/cartoweb-users