Hoppa till huvudinnehållet

I want to tie the "Edit Feature" in the panel actions menu to a button on the toolbar, is this possible?

Kommentarer

1 kommentar

  • Zack Robison
    You'd need a way to connect the tool with the feature to edit; this would require either javascript that holds onto the last feature selected in teh viewer or a workflow that allows a user to select that feature.

     

    I don't think that there is any way built into the viewer to get at the last feature(s) clicked, so you'd need to write some of your own javascript to get at it(them) and still need to prompt a user to pick which one if multiple maptips popped up.  I wouldn't do this.

     

    In a workflow you can use a feature selected by the user to build the Add/Delete/UpdateFeatures activities as desired.  This is the way that we do it.  The workflow would then be integrated into a button that you place in the toolbar just like any other.  
    0

Du måste logga in om du vill lämna en kommentar.