Hi, I don't know how to check if the polygon exists : it is very difficult to compare 2 approximatively drawn polygons...
The list of shown polygons saved in session is available with $_SESSION['clientDynamicLayers']. It is use at the end of incphp/gloabls.php and all the code is in plugins/clientDynamicLayers/clientDynamicLayers.php. The link you paste doesn't show saving in DB or edit functionalities, no? Le 30/03/2012 09:13, maniac a écrit : > Hello and thanks for your answer. > > I customized drawing plugin to save polygon in DB. And I don't know how to > check if polygon already exist. Is list of shown polygons saved in session? > > The link I paste here have implemented functionalities about saving polygons > an points in layer and have posibilities to show / hide this layers (for > points and polygons). I want to have the same functionalities, but I need > help how to implement it. > > Thanks for help. > > -- > View this message in context: > http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Need-help-with-drawing-plugin-tp3869433p3870123.html > Sent from the pmapper-users -- p.mapper users mailing list mailing list > archive at Nabble.com. > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > -- Thomas RAFFIN Chef de Projet Internet traf...@sirap.fr <mailto:traf...@sirap.fr> Sirap <http://sirap.fr> Tel : 04 75 72 84 10 Fax : 04 75 70 07 98 Rue Paul Louis Héroult - BP 253 26106 Romans cedex ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users