[Cartoweb-users] edit_sel in dhtmlEdit.js
Pierre GIRAUD
pierre.giraud at camptocamp.com
Fri Jun 9 03:27:14 EDT 2006
I think that your code is correct. I imagine you just had to uncomment
some piece of code.
First, were did you make the modification ? Directly in the mainstream
edit plugin ? In an overriden edit plugin in your project ?
Did you try to launch the setup script ?
Finally, did you try to clear browser cache ?
Regards
Pierre
Fabio D'Ovidio wrote:
> 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???
More information about the Cartoweb-users
mailing list