i would like to do it in order to edit graphics and not have the infoWindow pops up when i edit a graphic. thx for any help
I have try .disableMouseEvents(); but it's not working
To solve that, I use right click to edit graphics. Would that be an option?
it's a good option but i have to use the left click
Can you post your code?
My listener :
this.graphicLayerObj.on("click",lang.hitch(this,function(evt){
if(dom.byId("drawingContainer").innerHTML=="" && domStyle.get(widgetTool.drawingToolsNode,"backgroundColor")=="rgba(71, 71, 71, 0.4)"){
this.activateToolbar(evt.graphic);
}
}));
activateToolbar: function(graphic) {
var tool = 0;
tool = tool | Edit.MOVE;
tool = tool | Edit.EDIT_VERTICES;
tool = tool | Edit.SCALE;
tool = tool | Edit.ROTATE;
// enable text editing if a graphic uses a text symbol
if (graphic.symbol.declaredClass === "esri.symbol.TextSymbol") {
tool = tool | Edit.EDIT_TEXT;
}
//specify toolbar options
var options = {
allowAddVertices : true,
allowDeleteVertices : true,
uniformScaling : true
};
editToolbar.activate(tool, graphic, options);
},
I have 5 featureLayers how to do it for each ?
How do you create your pop-ups?
i'm not creating them i get the map with the arcgisUtils.createMap(); method