Why doesn't Result Group open if only 1 layer has results?
I just created a new site with just one layer having Identify available. When a user searches for an address, they then have to click on the layer result group to open, and then to see result. On another site, if only one layer has results, the group opens on its own. I can't remember how I did this, and I'm not seeing it when I search...
0
-
Went back into the site a bit later, and now it seems to be working fine...go figure! 0 -
Hi Mike,
I have seen this if you search for and return 1 result, the results list will be skipped and you will be brought directly to the details. Could you have been returning 1 result on one site and multiple results on the other site?
Regards,
Wayne0 -
Yes, often get just one result, and it now bypasses the grouping and shows the result, but not the details. Before, I had to click on the result layer group to see the single result. Don't need the details, but would be nice if it were just to zoom to feature if only one result were found... Here is the site, very simple and fast.
https://maps.srcity.org/Html5Viewer/Index.html?viewer=ParaTransit0 -
Just tried this on an iPad, and there it returns one result, but the Layer Group is still there. I have to click there to open, then on the one result to zoom in..!? 0 -
Mike,
I had the same problem. So I figured out that there is a configuration in your viewer json file (desktop.json) called "automaticDrillInDelay" under "ResultsModule" and then "ResultsListView".So here is the configuration to drill in results if there is only one layer selected. the default value is 300 ms. if the search operation takes longer than 300ms, the result is shown in summary panel and you need to click on it to see de detailed results. You can increase this time in order to solve the problem.
Why it happens in the first time you search and not the second time, in my opinion relates to cache. proably the second time the results are found faster because they are cached.0 -
Mike,
I had the same problem. So I figured out that there is a configuration in your viewer json file (desktop.json) called "automaticDrillInDelay" under "ResultsModule" and then "ResultsListView".So here is the configuration to drill in results if there is only one layer selected. the default value is 300 ms. if the search operation takes longer than 300ms, the result is shown in summary panel and you need to click on it to see de detailed results. You can increase this time in order to solve the problem.
Why it happens in the first time you search and not the second time, in my opinion relates to cache. proably the second time the results are found faster because they are cached.0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
6 kommentarer