nazaf Posted September 4, 2015 Share Posted September 4, 2015 I have a Map element report in which i am displaying lables on markers. I looked over all the forums but couldn't find any. I wanted to have tool-tip so that if i hover over the markers, some data would be displayed accordignly. The same way it works in Google Map. How do i incorporate that? Link to comment Share on other sites More sharing options...
Solution nazaf Posted September 4, 2015 Author Solution Share Posted September 4, 2015 Ok, I found a solution using this http://community.jaspersoft.com/wiki/how-add-marker-tooltips-and-hyperlinks-google-map-componentI used infowindow to display the data i needed to.<mp:itemProperty name="infowindow.content"> [/code] <valueExpression>[/code] <![CDATA["<pstyle=text-align:left;'><a href="+$F{url}+"target=_blank><b>"+$F{markername}+"</b></a><br/>latitude:<b>"+$F{latitude}+"</b><br/>longitude:<b>"+$F{longitude}+"</b></p>]]>[/code] </valueExpression>[/code]</mp: itemProperty>[/code] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now