Good morning, I have a problem with the visibility of openInfoWindows, the task is to make it show a mouseover event and a click event also that only one window open, my bookmarks are generated with a list, my code is as follows:
(I use version 3 of GMaps and gmaps4jsf version 3.0.0)
<script>
marker1ClickHandler unction () {
/ / JsVariable = "map1"
map1.closeInfoWindow ();
}
</ Script>
<ice:form id="formMap">
rendered="#{reporteBean.idPozo <ice:panelGroup 0}"> ==
<M: map jsVariable = "map1"
width = "100%" height = "800px" zoom = "11"
enableScrollWheelZoom = "true"
latitude = "24.7555601" longitude = "-98.0064475"
locationNotFoundErrorMessage = "This part of the map is not available, please return a zoom level">
var="coor" <c:forEach items="#{reporteBean.pozosList}">
<M: marker latitude = "# {coor ['latitudSup']}"
longitude = "# {coor ['longitudSup']}"
showInformationEvent = "mouseover"
>
eventName="click" <m:eventListener jsFunction="marker1ClickHandler"/>
<m:htmlInformationWindow htmlText="#{coor['evento']}">
</ M: htmlInformationWindow>
</ M: marker>
</ C: forEach>
</ M: map>
Please someone fix this problem, I ask your help .. all good -
Greetings.
I'm sorry for my writing is not very good