-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Identify maxItems cfg option removed #4238
Comments
@pgssimon you are right, it's a regression |
The options originally was get from the graphic component properties. MapStore2/web/client/selectors/mapInfo.js Lines 83 to 88 in b812406
A couple of changes like the followings should restore the possibility to customize maxItems : const identifyOptionsSelector = createStructuredSelector({
format: generalInfoFormatSelector,
map: mapSelector,
point: clickPointSelector,
currentLocale: currentLocaleSelector,
+ maxItems: (state) => get(state, "mapInfo.configuration.maxItems", 10);
}); --> localConfig default state "mapInfo": {
"enabled": true, // enabled by default
"disabledAlwaysOn": false, // if true, disable always on setup
"configuration": {
"showEmptyMessageGFI": false // allow or deny the visiibility of message when you have no results from identify request
"infoFormat": "text/plain" // default infoformat value, other values are "text/html" for text only or "application/json" for properties,
+ "maxItems": 50
}
} This proposed solution supports again to |
@offtherailz that would be perfect |
/remind me monday |
@tdipisa set a reminder for Sep 28th 2020 |
👋 @tdipisa, |
This Github issue has a code suggestion which I have implemented. I am however unsure how exactly to recreate and test it out. Any assistance would be appreciated |
Hi @pgssimon I recently tested in DEV and was able to fetch 67 items in a layer so i am wondering if this issue is still valid May you double check it? |
We would like to reintroduce the maxItems aswell |
I am currently setting up a new server with MapStore 2020.02.01 will check against that |
Description
Hi
In one of my localConfig.json I have set maxItems for the Identify plugin
However this cfg setting is no longer available, is there a replacement setting that I have missed?
Was removed at this commit...
e68ce42#diff-cb0e46ea9c7290f7a328445a8d05f9d7
This is very important as we are not able to display the correct number of records, for instance in the screenshot below there should be 39 Building Consents...
Cheers
Si
The text was updated successfully, but these errors were encountered: