Hi Giovanni,

your plugin must extend the class DrawPolygonTool and override the methods #gestureFinished for any new actions you want to take effect. This method is called after the user finished editing the new polygon.

Also you must override the method #create.

Take a look at this previous thread at the mailing list, it is about extending DrawPointTool.
http://lists.saig.es/pipermail/kosmo_int/2008-March/000257.html
Maybe you'll find any util idea.

Regards.

Giovanni Virdis escribió:
Hi,

I have create a new extension i see the button in the main toolbar. I
want thah this button create a new polygon I want use the
DrawPolygonTool class . How I ca do this.

Thanks

Regards Giovanni

_______________________________________________
Kosmo mailing list
[email protected]
http://lists.saig.es/mailman/listinfo/kosmo

Responder a