Loading Maptip?
Hi All
I have a layer from a map service that has a table join done in Arcmap. It needs to be done this way (rather than a data link in GXE) as the symbolisation and defintion field for the layer is in the table itself.
When I click on it to bring up a maptip it seems to take 5 - 10 secs to bring up the results. But during this time the dialog box displays the text No Results ... giving the impression to the users that there is nothing to display, when in fact it is just taking a few seconds to build the result.
I thought about trying to add my own loading gif to the map tip box, like what is display when using the Identify function.
When I inspected the map tip dialog box element via Chrome I boticed that there does seem to be a busy/loading class. but this doesnt seem to get invoked ... is there something I am missing? Or is there a way to added a "Loading" message to thje maptip dialog box if it is creating/searching for a result to display?

Cheers
Chris
0
-
Hi Chris,
If you want to change the "No results" to "Loading" then this message can be edited in the Desktop.json.js filed (typically located at: C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\<SiteName>\Viewers\<ViewerName>\VirtualDirectory\Resources\Config\Default)
If you look for the module called "customSearchSuggestions", under "MapTip" you can include a string that will change the "no results" to whatever you include here. So if you want the message to be "Loading...", it should look like this:
"customSearchSuggestions": {
"Identify": "",
"MapTip": "Loading...",
"Workflow": "",
"Search": "",
"QueryBuilder": ""
Please note that this might be a problem if the feature actually contains no results in the map tip.
I hope this helps.
- Carmen0
Please sign in to leave a comment.
Comments
1 comment