Skip to main content

Highlighted results on the map using workflow

Comments

3 comments

  • Permanently deleted user

    Kim,

    I'm assuming you're returning a valid 'feature set' of points in the workflow - you just need to zoom to them and highlight them?

    1. Get the feature set extent using the GetFeatureSetExtent activity

    - pass in the feature set

    - pass out an Envelope (create a new variable of type Envelope - lets say fsExtent)

     

    2. To zoom to the extent of selected feature set.. use the RunExternalCommand activity with 2 parameters:

    "ZoomToExtent"

    fsExtent (the extent created in the first step)

    3. to Highlight the features... use the SelectFeatures activity - enter the valid Geocortex layer id (not REST), and map service ID, and the feature set used in step 1.

     

    hope that helps...

    regards

    Gareth

    0
  • Permanently deleted user

    Hi Kim,

     

     

    The buffered workflow worked for me, see this thread with links:

     

    https://support.geocortex.com/Forums/Thread.aspx?pageid=0&mid=2&ItemID=20&thread=47238
    0
  • Permanently deleted user

     Hi Gareth,

     Thank you for your help.

     I able to make it zoom to the using your steps 1 & 2, but the Highlight the features doesn't work. I think it is good enough zoom to the extent of selected features, but is there the way to highlight each individual dot on the map when mouse over the selected features in the Results panel.

     Thanks,

     Kim

     

     

    0

Please sign in to leave a comment.