Global search geocoding zoom scale and point color
I tried searching for previous posts but either they don't exist or I'm not using the right keywords. Links to previous solutions are great.
Using the Global Search input in the 2.4.1 HTML5 Viewer. Where in either Essentials or the config files does one configure the zoom scale and point size and color of the selection? Also, is there a way to automatically zoom to the location of the first, and highest confidence, result?
Thanks in advance,
Brian
-
I have the same question for HTML5 viewer.
There is a post that refers to the \Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\<site name>\Viewers\<site name>\VirtualDirectory\Resources\Config\Default
in the Desktop.json.js in the Highlight module
{
"moduleName": "Highlight",
"moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.Highlight.HighlightModule",
"configuration": {
"fillColor": "#99BD33A4",
"borderColor": "#FFCCCC33"
}but the changes seemed to not take place.
If you or anyone obtain an answer, I would like to know.
GCE 4.2, HTML5 2.3
Thank you,
Nate
0 -
Solved for the "Yellow Dot" (and the polygon, line highlight). Had to change the "border color" for the dot to change color.
Here are the changes I made in the Desktop.json.js file
{
"moduleName": "Highlight",
"moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.Highlight.HighlightModule",
"configuration": {
"fillColor": "#99BD33A4", -----"purple" fill (shows up for polygons)
"borderColor": "#FFEA041B" ------ "red" for the "point" and also the outline of polygons and for lines
}0 -
Nathan, thanks for the tips. Do you happen to have a link for the post you mention? It appears that for most config-related "stuff" that the Desktop.json.js file should be my first stop. The second half of the battle is knowing which section to look for and what parameter affects whatever I want to change.
0 -
Hello,
I am a beginner with Geocortex and don't really know a lot about json file...
Is it possible to modify the point size (or border width)?
Julie Bouchard
0 -
Does anyone know how to configure the default zoom level of the geocode result once you select it?
I tried putting a value within the defaultPointFeatureZoomScales": [500]. No such luck.
Geoff Mulligan
0
Please sign in to leave a comment.
Comments
5 comments