As a check that only one bubble open information

26 views
Skip to first unread message

Joel Rodriguez

unread,
Jun 13, 2013, 6:33:57 PM6/13/13
to gmaps4...@googlegroups.com
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

Hazem Saleh

unread,
Jun 13, 2013, 11:45:49 PM6/13/13
to gmaps4jsf-dev
This behavior was available in old versions of GMaps4JSF (1.1.4 or earlier), however, it is not included in GMaps4JSF 3.0.0.

If you want to see this behaviour in the next release, open an issue in the issues list and star it (We have a rule in the project, If an issue has enough stars then it will be definitely included in the next release):


--
You received this message because you are subscribed to the Google Groups "gmaps4jsf-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gmaps4jsf-de...@googlegroups.com.
To post to this group, send email to gmaps4...@googlegroups.com.
Visit this group at http://groups.google.com/group/gmaps4jsf-dev.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Hazem Ahmed Saleh Ahmed

Author of JavaScript Unit Testing book:
http://www.amazon.com/dp/1782160620/

Co-author of (The Definitive Guide to Apache MyFaces and Facelets) book:
http://www.amazon.com/-/e/B002M052KY

DeveloperWorks Contributing Author
https://www.ibm.com/developerworks/mydeveloperworks/blogs/hazem/entry/ibm_developerworks_contributing_author?lang=en_us

An Apache committer, IBMer, and a technical speaker

Twitter: http://www.twitter.com/hazems

Joel Rodriguez

unread,
Jun 14, 2013, 1:42:24 AM6/14/13
to gmaps4...@googlegroups.com

any suggestions? ejecturar just need a function to close the bubble.

thanks for the help. 
Reply all
Reply to author
Forward
0 new messages