min-max map unit scale support
Merge pull request #1320 from manisandro/minmax

min-max map unit scale support