The above sample showcases how to change size of a map in percentage. Click here to know more on how the code of this example works.