Improve configuration so that many layers can share a custom template.
Add configuration to control how an attribute should be formatted.
This is a feature added for WFONE app, and the implementation is contained in
https://github.com/qqnluaq/smk-client/tree/feature/wfone