I have a map with markers on it, how to add information to them?
I’m using OverlayItem thing.
I found this, but I’m almost sure that I have seen somewhere solution created by Google.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well it depends on how much information you need per marker. You can for example set the title of each marker, and you can even display that as text over the marker if you want to. Additionally you can even use
snippetwhich is another attribute of overlay items. Personally, I use thetitle()andsnippet()attributes very often when using maps, but if you need to display more detail, you should go with @Michal’s answer of using pop-up balloons for each overlay.There are quite some posts on pop-up balloons if you’re interested here , here and here
Hope this helps.