The above sample showcases how to create your first JavaScript map. Click here to know more on how the code of this example works.