Zum Hauptinhalt gehen

Get location of the map's context menu

Kommentare

3 Kommentare

  • Zack Robison

    If it works, it ain't wrong (yet)...

    0
  • Berend Veldkamp

    Ugly comes very close to wrong IMO 😉

     

    The good news is that there actually is a cleaner way: Use a Create Point activity with

    • X: =$getWorkflowInputs1.inputs.context.geometry.x
    • Y: =$getWorkflowInputs1.inputs.context.geometry.y
    • Spatial Reference: =$getWorkflowInputs1.inputs.context.geometry.spatialReference
    0
  • Zack Robison

    To me, one long chain of properties on an in-memory object is prettier than the overhead of an additional activity, but then I suppose that's why they say "beauty is in the eye of the beholder".

     

    FWIW I find both options here lovely... but then I've never been accused of having good taste.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.