GetGraphicsLayerContent - Mix geometry
I'm trying to implement a simple button that will calculate lengths/areas for draw features.
However if the user has a line and a polygon, and/or point in the drawings layer, the workflow errors out that the GetGraphicsLayerContent activity does not work with mix geometry in the drawings layer. Without this activity, I'm not even sure how I would check for this.
Any suggestions?
0
-
The GetGraphicsLayerContent has a geometry type property. You can check separately for lines and polygons.
0 -
Thanks Nico. Very short-sighted of me.
Appreciate it!
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare