marker info windows stay opened

30 views
Skip to first unread message

erb...@gmail.com

unread,
Mar 15, 2014, 7:37:11 AM3/15/14
to gmaps4...@googlegroups.com
Hello everybody, i use ui:repeat example for my work and lots of markers on map , when i click marker, information window keep opened even i click another one, what should i do, is there any settings like autoclose or should i write javascript that controls which marker clicked. Thank you...

This example works same:
http://www.mashups4jsf.com/gmaps4jsf-examples2-3.0.0/pages/repeat.xhtml

Hazem Saleh

unread,
Mar 15, 2014, 10:09:25 AM3/15/14
to gmaps4jsf-dev
Hello,

This is the default behavior of markers in Google Maps v3 and GMaps4JSF follows this behavior.

If you wish to have an autoClose attribute implemented in marker, feel free to open an issue and if it has enough 
stars then it will be definitely implemented 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/d/optout.



--
Hazem Saleh

Author of Pro JSF and HTML5 book:
http://www.amazon.com/Pro-JSF-HTML5-Building-Components/dp/1430250100/

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
Reply all
Reply to author
Forward
0 new messages