In my application, I'm using gmaps4jsf 1.1.4. The map works fine. However, I can't get map's component values via JavaScript so that I could do the related changes to the components. For example,
document.getElementById("myForm:gMap").rendered = "false";
document.getElementById("myForm:gMap").rendered = "true";
does not work. What I want to do is that when the page is loaded in app, the map is not shown. That is, map renderer is false. The map will be displayed when a button is pressed in that page. Therefore, I want to enable and disable the map via JavaScript code. Is such thing possible?