Hoppa till huvudinnehållet

Display result picker - highlight feature

Kommentarer

3 kommentarer

  • Permanently deleted user
    Hi Francesca,

     

    The behaviour of the Display Results Picker in 2.7 doesn't include highlighting of a feature whenever a user clicks on one. Starting 2.8 though this is possible and available out of the box.

     

    For now you could use commands in hyperlinks as part of a feature description to somehow achieve a similar result. For instance you could set the Description Format to something like "<a href=""command:ShowMapTip?{$Feature}""> HYPERLINK_TEXT </a>" so that whenever the user clicks on that "HYPERLINK_TEXT" a map tip is shown and a pushpin is placed on the map.

     

    Hope this helps,

     

    Sergio
    0
  • Tyson Schoepflin

    Starting 2.8 though this is possible and available out of the box.

     

    Thanks for the hyperlink command tip Sergio!  It works nicely.

     

    I have a result picker in a workflow.  With the map service id and layer id set.  The selection mode is single.  The behavior of the picker list highlights on mouse hover and keeps the selected feature highlighted.

    This becomes uselss when dealing with small features spread across a state.  The highlight cannot be seen or is very hard to catch.  Does this work with map pins?  Showing a map pin would help.

    The current extent of the viewer also limits what can be seen.  For the hover behavior this makes sense.

     

    It would be great if the clicking if we had a couple more options on the results picker that would happen when an feature is selected.  Center on feature (bool) and scale (int).  This would then center the feaure and/or set a scale.

     

    For now it looks like I'll be calling a workflow from a hyperlinke from the label or description.  This solution doesn't make for the best UX but is at least function.
    0
  • Permanently deleted user
    Sergio/Tyson,

     

    I am using a fairly old version (GVH 2.6) and want to highlight the feature in the map when a feature in the results list is selected.  I am not really interested in showing a map tip or a pushpin on the features when they are selected from the results list because they are clustered and highlight should work in all cases.  Maybe you can give me an example of what you did, Tyson, to get highlights to work?

     

    Thanks!

     

     
    0

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