Yes, you can probably rely on double click, the click handler might help you with that, see the corresponding example. Eric
2008/7/22, Dipl. Inf. Carsten Eider <[EMAIL PROTECTED]>: > Hi Eric, > > multiple:false sounds good, i will try it. > Any idea how to define the end of modification? May the user should do a > doubleclick ? > > Carsten > > Eric Lemoine schrieb: >> Hi. It is a bit hard to help you with so few details but i'll give it >> a try. You can pass clickout:false to the modify feature control to >> disable feature un-selection on clickout. To disable multi-selection >> pass multiple:false. I'm not sure that will help... Eric >> >> 2008/7/21, Dipl. Inf. Carsten Eider <[EMAIL PROTECTED]>: >> >>> hi folks, >>> >>> my work a an openlayers-based geoeditor goes on. >>> One of my features i have to developed ist to split a polygon. >>> This is my actual solution: >>> >>> 1. Select polygon >>> 2. Select one existing point of the feature >>> 3. Select second one >>> 4. Split feature on server backend >>> >>> I would like to be able to split the feature by a variable linestring: >>> >>> 1. Select polygon >>> 2. Select one existing point of the feature >>> 3. Select second one >>> 4. Modify linestring >>> 5. Define end of modification:Split feature on server backend >>> >>> Upto 5. my solution works: I add a modifyfeature.control >>> but now the trouble starts: >>> How can i prevent that other features (another polygon) are selected or >>> my polygon i unselected when i click outside of it >>> How can i detect the end of my modification, maybe by an doubleclick ? >>> >>> Thx Carsten >>> >>> -- >>> Mit freundlichen Grüßen / Yours faithfully >>> Carsten Eider >>> >>> Dipl. Inf. (FH) >>> >>> Kompetenzzentrum für Innovative Informationssysteme >>> >>> c/o Fachhochschhule Bingen / University of applied sciences Bingen >>> >>> Berlinstraße 109 >>> 55411 Bingen >>> >>> Tel: +49 (0) 6721 / 409-179 >>> Fax: +49 (0) 6721 / 409-158 >>> email: [EMAIL PROTECTED] >>> Internet: iis.fh-bingen.de >>> >>> >>> > > -- > Mit freundlichen Grüßen / Yours faithfully > Carsten Eider > > Dipl. Inf. (FH) > > Kompetenzzentrum für Innovative Informationssysteme > > c/o Fachhochschhule Bingen / University of applied sciences Bingen > > Berlinstraße 109 > 55411 Bingen > > Tel: +49 (0) 6721 / 409-179 > Fax: +49 (0) 6721 / 409-158 > email: [EMAIL PROTECTED] > Internet: iis.fh-bingen.de > > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
