JSFiddle - React, Tailwind, and code Playground

HTML

<img id="map_img" src="http://placekitten.com/200/300" style="visibility:hidden" width="400" height="400"/>


<input type="submit" id="Map" value="Map" onclick="showImg()"/>

JavaScript

showImg = function()
{
    x=document.getElementById("map_img")
    x.style.visibility="visible";
}