Hoppa till huvudinnehållet

Disabling a tool after one use (draw, edit, plot coords, etc)

Kommentarer

5 kommentarer

  • Zack Robison
    There is an "Is Sticky" property in the config for each tool, I think that this is what you're looking for.

     

    Be prepared for users who are now annoyed that they have to click the tool again every time they want to draw another polygon.
    0
  • Permanently deleted user
    You can see that when you edit the tool in manager.  My question is why doesn't the Pan tool have that ability?
    0
  • Zack Robison
    Because pan isn't a tool, it's a button.  Buttons don't toggle, they are more one-and-done type things.  All that Pan actually does is run the command to clear any active tools.
    0
  • Max Molello
    I don't see the sticky option while editing a tool in manager, but I found it in the desktop.json. Thanks.
    0
  • Zack Robison
    Here's were you can find it in the Rest Manager: 

     

    User-added image
    0

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