Mapstore2 dashboard counter widget customisation

134 views
Skip to first unread message
Assigned to lorenzo...@geosolutionsgroup.com by me

Melanie Van Thuyne

unread,
Jan 1, 2024, 11:16:00 AMJan 1
to mapstore-users

Hi,

I want to customise the counter widget to show 1 decimal place for the averaging operation (with a trailing zero when necessary e.g. 35.0). The default is 3 decimals and removing trailing zeros. I checked config.json, localConfig.json, and related JS files and modified some parts. However, nothing changed. I also tried shrinking the size of the counter box, whose smallest option is already pretty huge. Couldn't succeed on that too. What are the correct approaches to handle these issues? 

Thanks in advance…

nl_comp.gif



Lorenzo Natali

unread,
Jan 15, 2024, 4:57:15 AMJan 15
to mapstore-users
Hi
actually it is not possible, the format is  based on the current language for the browser.
This functionality is under development and it will be delivered in the next stable version of MapStore (2024.01.00).

Melanie Van Thuyne

unread,
Jan 16, 2024, 8:04:26 AMJan 16
to mapstore-users
Thanks so much for the information🙏🏽
Reply all
Reply to author
Forward
0 new messages