Hoppa till huvudinnehållet

“Global Search” fails to work constantly properly when upgrading to GE 4.10\GVH 2.11,

Kommentarer

2 kommentarer

  • Permanently deleted user
    Hi Jamal,

     

    All what you need to do is to add the "ZoomToFeature" to the desktop.json file ("c:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\X\Viewers\x1\VirtualDirectory\Resources\Config\Default\Desktop.json.js") as shown in the code :

     

     

     

    "behaviors": [

     

     {

     

    "name": "ResultsListFeatureClickedBehavior",

     

    "event": "ResultsListFeatureClickedEvent",

     

    "commands": [

     

    "ShowFeatureDetailsExpanded",

     

    "ZoomToFeature"

     

    ]

     

    },

     

    _img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f2000000kAk6&feoid=Body&refid=0EMf2000000fzq0" _/_img_

     

    In this case the results will be displayed in expanded view in addition to zooming to the clicked feature

     

    However, it would be nicer if this can be managed at the level of the manager without the need to play in the code

     

     

     

    Best,

     

    Lubna

     

     
    0
  • Permanently deleted user
    I got it Lubna. Many thanks

     

     

     

    The code comes by default like this”

     

     

     

    "behaviors": [

     

                {

     

                  "name": "ResultsListFeatureClickedBehavior",

     

                  "event": "ResultsListFeatureClickedEvent",

     

                  "commands": [

     

                    "ShowFeatureDetails"

     

                  ]

     

     

     

    Then adding the “expanded” option will cause the Gecortex not to zoom

     

     

     

    "behaviors": [

     

                {

     

                  "name": "ResultsListFeatureClickedBehavior",

     

                  "event": "ResultsListFeatureClickedEvent",

     

                  "commands": [

     

                    "ShowFeatureDetailsExpanded"

     

                  ]

     

     

     

    This is resolved by adding the "ZoomToFeature"

     

     

     

    "behaviors": [

     

     {

     

    "name": "ResultsListFeatureClickedBehavior",

     

    "event": "ResultsListFeatureClickedEvent",

     

    "commands": [

     

    "ShowFeatureDetailsExpanded",

     

    "ZoomToFeature"

     

    ]

     

    },

     

     

    _img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f2000000kB7K&feoid=Body&refid=0EMf2000000g0L8" _/_img_

     

    _img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f2000000kB7K&feoid=Body&refid=0EMf2000000g0LD" _/_img_

     

    _img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f2000000kB7K&feoid=Body&refid=0EMf2000000g0LI" _/_img_
    0

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