Select to view content in your preferred language

Editor-All Build up

3941
10
07-20-2015 09:49 AM
MichaelStranovsky
Occasional Contributor

Using the selection tool on the toolbar of the editor widget to select multiple points.  When I click the attribute tool on the toolbar, I only get one feature in the AttributeInspector infowindow.   I do not get the navigation buttons on the AttributeInspector. 

mapMain.on("layers-add-result", initEditing);

function initEditing (evt) {

  layers = arrayUtils.map(evt.layers, function(result) {

        return {featureLayer: result.layer};

        });

         

  createEditor();

}

function createEditor() {

        if (myEditor) {

         return;

        }

        var settings = {

        map: mapMain,

        enableUndoRedo: true,

            geometryService: new GeometryService("https://ags2.scgov.net/arcgis/rest/services/Utilities/Geometry/GeometryServer"),

            layerInfos: layers,

            toolbarVisible: true,

            toolbarOptions: {

              reshapeVisible: false

            }

  };

        var params = {settings: settings};

        

        myEditor = new esri.dijit.editing.Editor(params,domConstruct.create("div"));

        domConstruct.place(myEditor.domNode, "editorDiv");

         

        myEditor.startup();

}

0 Kudos
10 Replies
DavidColey
Frequent Contributor

Thanks Thejus, yes helpful for sure.  Yes, we've been sort of trial and error on this for some time. Anytime we set an info or popup window as part of the map or search constructer it completely hoses the attribute inspector and it's functionality.  You are likely correct in we will have create a specific AI.  

0 Kudos