Hi Jonathan, I was not able to reproduce the issue you mentioned. I tried to edit the 'ControlerOnlyExample' to add the code you pasted and didn't see anything. Here's the content of the .js file I edited [1].
Could you please show me more ? Perhaps a live example showing the issue could help. Are you able to reproduce the same problem with the current live demo of the widget [2] ? Best regards, Alexandre [1] http://pastebin.com/WpT8rQM1 [2] http://dev.geoext.org/sandbox/redlining/ux/FeatureEditing/examples/ControlerOnlyExample.html On 10-11-15 09:12 PM, jonathan Maura wrote: > Hi all, > I want to use the ux Redlining in my application. > I use this code to add redlining buttons: > > var Tools = new Ext.ButtonGroup({ > title: 'Add Content', > columns: 8 > }); > > var controler = new GeoExt.ux.FeatureEditingControler({ > id:'controler', > 'cosmetic': true, > map: this.map, > styler: 'combobox', > popupOptions: {anchored: false, unpinnable: false, > draggable: true} > }); > > > Tools.add(controler.actions); > toolbarItems.push(Tools); > > But i have encountered trouble with the editing popup. > > With point and label, the editing popup automatically close (without any > user action, popup is active& the bbar element isn't active) > > I look at the FeatureEditingController.js and add a block comment into: > > onModificationEnd: > ... > if (feature.popup) { > //feature.popup.close(); > //feature.popup = null; > } > ... > that allow me a "pseudo-persistence" (only for the "draw a point" tool). > I think that an event from my app "hit" the popup component and force it > to close. > > Does anyone have a clue? > Thanks for your time! > Jo > > > > _______________________________________________ > Users mailing list > [email protected] > http://www.geoext.org/cgi-bin/mailman/listinfo/users > -- Alexandre Dubé Mapgears www.mapgears.com _______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
