Aller au contenu principal

Extra sketch symbols - Arrow (and others)

Planifiée

Commentaires

16 commentaires

  • Commentaire officiel
    Christian Wohlmutter

    This feature is planned. You can follow the state in the changelog under the ID 365780.

  • Carmen Durham

    Yes, arrow sketching is used very often by our HTML viewer users.  If this is available and we haven't found it, please let us know where it is.  If it is not, please add it to Studio Web!

    5
  • Alicja Bilska

    Our customers are also requesting the option to draw an arrow, which was standard in WebApp Builder. Looking forward to seeing it in Studio Web!

    2
  • Martin Lauenborg

    +1 

    2
  • Lea Dyrholm Hansen

    Yes please

    2
  • Jonas Langerød Rugtvedt

    We also have a lot of customers that are both missing and requesting this type of functionality. 

    2
  • Rinske van Dijk-Spaa

    Yes please!

    2
  • Johanne van Linge

    I have been experimenting and in contact with support. Perhaps some of you can use this workaround as well.

    In the Web designer when adding a sketching button, you can change the command. In that command you can enter the code block underneath, feel free to alter the colours and such to the actual desired symbol. This uses the option to set the default drawing symbol instead as a workaround. This does mean that the markup line symbol would then be stuck as an arrow until it is changed.

    [
      {
        "name": "drawing.set-default-symbol",
        "arguments": {
          "type": "esriSLS",
          "color": [
            75,
            75,
            75,
            255
          ],
          "width": 1.5,
          "style": "esriSLSSolid",
          "marker": {
            "placement": "end",
            "style": "arrow"
          }
        }
      },
      {
        "name": "sketching.capture-geometry",
        "arguments": {
          "geometryType": "polyline"
        }
      },
      "drawing.create-graphics",
      "map.add-markup"
    ]

    If your web application uses the default symbol in other places such as drawing a line, it could possibly be an option to add another bit to the bottom to set the default symbol back to not containing an arrow as marker. Again, using whichever actual colors, width, etc, your default should be.

    [
        {
            "name": "drawing.set-default-symbol",
            "arguments": {
                "type": "esriSLS",
                "color": [
                    75,
                    75,
                    75,
                    255
                ],
                "width": 1.5,
                "style": "esriSLSSolid",
                "marker": {
                    "placement": "end",
                    "style": "arrow"
                }
            }
        },
        {
            "name": "sketching.capture-geometry",
            "arguments": {
                "geometryType": "polyline"
            }
        },
        "drawing.create-graphics",
        "map.add-markup",
        {
            "name": "drawing.set-default-symbol",
            "arguments": {
                "type": "esriSLS",
                "color": [
                    75,
                    75,
                    75,
                    255
                ],
                "width": 1.5,
                "style": "esriSLSSolid"
            }
        }
    ]

    I have tested this only a little bit, so I'm not 100% sure what other drawbacks this could give.

    The drawback that is clear to me is the following: if you are using more advanced techniques, like a startup workflow to set the default symbol dynamically from somewhere else, this might get more complicated / too slow, because you'd then want to again get a workflow to set that default symbol. If it is not dynamically set, you could hardcode it in like I do.

    2
  • Stijn Kant

    +1

    2
  • Johanne van Linge

    Seems that my workaround does have another drawback: after drawing the arrow, if you want to select it and to change the style with the standard option, this does not work. You can change the geometry of it, but not the "symbology". So the style of the arrow can only be hardcoded in the command above.

    1
  • Aad van der Kramer

    We would also like to have the arrow symbol back.

    2
  • Henry Haro

    Yes please, return of the arrow!

    1
  • Cassandra Desvig-Forss

    Agree with this and also the ability to choose other line ends such a as “squared” end instead of the default rounded end. 

    1
  • Jacob Fougstrup Nicolajsen

    Yes please!

    1
  • Rinske van Dijk-Spaa

    Christian Wohlmutter according to the changelog it is planned for 1970-01-01…

    0
  • Carmen Durham

    Then it must already be done!   (ha)

    1

Vous devez vous connecter pour laisser un commentaire.