Hoppa till huvudinnehållet

Restore map tips from table (GVH2.8)

Kommentarer

3 kommentarer

  • Amanda Frech
    Hi Ethan,

     

    The behaviour for this click is determined in the viewer configuration files.  The default was changed between 2.7.2 and 2.8 to no longer show map tips.  If you'd like the 2.7.2 behaviour back:
    1. Find your viewer's config files (default location: C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\SITENAME\Viewers\VIEWERNAME\VirtualDirectory\Resources\Config\Default\SHELLNAME.json.js)
    2. Back up the json.js file, then edit the original in a text editor like Notepad
    3. Search for "ResultsTableFeatureClickedBehavior"
    4.  Replace the "commands" there (in 2.8 the default is now "ZoomToFeature") with: "ShowMapTip", "ZoomToFeature", "HighlightFeatureDefault" These were the default commands in 2.7.2.
    5. Do the same for the commands for "ResultsTableFeaturePressedBehavior".
    6. The end result should look something like: {               "name": "ResultsTableFeatureClickedBehavior",               "event": "ResultsTableFeatureClickedEvent",               "commands": [                 "ShowMapTip",                 "ZoomToFeature",                 "HighlightFeatureDefault"               ]             },             {               "name": "ResultsTableFeaturePressedBehavior",               "event": "ResultsTableFeaturePressedEvent",               "commands": [                 "ShowMapTip",                 "ZoomToFeature",                 "HighlightFeatureDefault"               ]             },
    7.  Save the file and test the viewer.
    Hope that helps!

     

    -Amanda
    0
  • Ethan Granger
    I finally got around to implementing this. It works like a charm! Also discovered "PanToFeature." Users have hated the "ZoomToFeature" because they lose context. PanTo could be the answer! Thank you! Thank you! Thank you!
    0
  • Permanently deleted user
    Glad to help!  And glad to hear this led you to find an improvement for your users!  Thanks for following up.

     

    Amanda
    0

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