[Cartoweb-users] Outline Plugin

Oliver Christen oliver.christen at camptocamp.com
Thu Sep 18 02:45:12 EDT 2008


Hi

possible, yes
easily,  depends what you want. If it's by setting some parameters: no.

you need to extend the plugin php to add the functionality your need, 
meaning some php development.

the outline shapes are stored in $this->outlineState->shapes.
at the moment a Clear simply wipe out the content of that variable (array).
In my opinion it would be relatively easy to look inside and only remove 
some selected shapes.
the shapes get an automatic numeric identifiant, starting from 0, by their 
creation order. I dont know if that would be enough to be able to select 
them from a list, maybe you would need to add some kind of additional text 
identifiant.

regards
Oliver


>
> Hi all,
>
> Is it possible / easy to modify the outline plugin so that I can choose to
> delete some of the drawn features instead of deleting all by the Clear
> Outline button?
>
> Thank you very much.
>
> Best regards,
> Jady
> -- 
> View this message in context: 
> http://www.nabble.com/Outline-Plugin-tp19546611p19546611.html
> Sent from the cartoweb-users mailing list archive at Nabble.com.
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list