“Global Search” fails to work constantly properly when upgrading to GE 4.10\GVH 2.11,
“Global Search” fails to work constantly properly when upgrading to GE 4.10\GVH 2.11,
I would to check with our dear community if anyone has experience the issue that the “Global Search” fails to work constantly properly when upgrading to GE 4.10\GVH 2.11. Clicking a result of the “Global Search” SOMETIMES doesn’t lead to zooming to it.
What could be the issue here?
The link is
Geomolg.ps
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906f2000000k9w1&feoid=Body&refid=0EMf2000000fzoT" _/_img_
0
-
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,
Lubna0 -
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
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare