2

I use ArcGIS Javascript api in 3.12 version. I have followed this sample in order to display editing toolbar plus template picker. It works pretty good. However I would like to hide popup window with attributes editor which is displayed after new graphic is added. That's because I already have attached to every FeatureLayer my own InfoTemplate:

    var template = new InfoTemplate();
    template.setTitle("Object");
    template.setContent(getPassportLink);
    var layer = new Dependencies.FeatureLayer(layers[i].serviceUrl, {
        mode : Dependencies.FeatureLayer.MODE_ONDEMAND,
        infoTemplate : template,
        outFields : [ "*" ],
    });

How can I achieve that?

1 Answer 1

3

If you want to suppress popups while editing a particular layer, set disableAttributeUpdate = true in the corresponding layerInfo when instantiating the widget.

This is mentioned in the API reference in the 'Constructor Details' section.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.