Making sure a javascript function is not called, if called already
<p>I am using google maps for a project. I need to be able to hide and display multiple maps. I cannot use a basic toggleDiv type function alone. This is because Google maps will ignore the intended size of the div when the div is set to display: none from CSS. (for whatever reason it is fine with being toggled by javascript.) I could use GSize(width, height) but it cannot handle percentages. Since I need the map to be 100%, 100%, this is not an option. I figured out a way around it which is to call the second map's function using onClick, rather then loading all the functions using body onLoad. But, then the zoom of the map is not saved and the map is just reloaded. </p>

<p>So, I need to check if a function has been called, and if so, do not recall it. I cannot figure out how to do this. Any help is appreciated.</p>

<p>Thank you.</p>
