KMS Minimap Percentage

Hey guys, was wondering if there is a way to make the minimap show a percentage of how much of the minimap is revealed. I also want to try and figure out if there is a way to make an event that can see how much of the map is revealed in a specific area and give rewards based on the percentage.
Here is the script:
Thanks for any help.

Original thread: https://forums.rpgmakerweb.com/threads/kms-minimap-percentage.138322/