|
It can be a child of the (map or marker) components. AttributesBeside the JSF UIComponent standard attributes. | Component Attribute | Required | Description | Default value | | longitude | false | The longitude of the HTML information window. If not set then the parent map longitude will be taken. | NA | | latitude | false | The latitude of the HTML information window If not set then the parent map latitude will be taken. | NA | | htmlText | true | The Information Window HTML Text. | NA | | jsVariable (Added in 1.1.1) | false | This flag determines the Javascript variable you want to use for referring to the htmlInformationWindow. Use this attribute if you want to use write additional Javascript code for the htmlInformationWindow to customize it. | NA |
|
The information window does not show up if I declare it as a child of the marker component?!
<m:marker draggable="true" jsVariable="marker">
</m:marker>however, the information shows when declared as a child of the Map component. Am I doing something wrong? Please advice.
This scenario is a defect, please file a bug here http://code.google.com/p/gmaps4jsf/issues/list
I can't seem to add any tags to the htmlText attribute when using facelets. For example, if one enters a <br/> or <img> I get this error message.. The value of attribute "htmlText" associated with an element type "m:htmlInformationWindow" must not contain the '<' character. I'm using facelets. I believe your examples use JSP. Is this a facelets issue? Do you know of a work around or does this require a change within gmaps4jsf. Great component by the way. It makes dealing with gmaps so much easier.
I discovered a funny workaround. Facelets doesn't have any problem by adding the tags when you insert them via EL like so htmlText="blah blah #{item.breaktag} blah blah". So you can construct the tags in your beans and insert them into the attribute via EL. I believe this is just facelets being strict. Correct me if I'm wrong. Maybe there is a more elegant way to solve this issue.
Hi i am using Spring WebFlows? and JSF and Facelets and Gmaps4JSF and i want to creat a HTML form in m:htmlInformationWindow in the htmlText attribute but its displayed as "Code" instead of the HTML Form..........plz.........let me know how to creat a HTML FORM for each Marker i creat...........i have put the form code in htmlText as EL ......... One more thing is how to create Markers by clicking on the GMAPs instead of hard coded tags for Markers..........can i take the jsVariable of m:map and create markers on click with some method i.e any functions.............
I have another problem...........my htmlInformationWindow if made as a child element of the marker its not appearing on Click........only if its placed outside the marker tag it appears by default...........
What all can be done using the jsVariable every tag..........
Hi ! I've got a problem with displaying htmlInformationWindow to more than one marker. This example shows, how do i generate a multiply markers on the map, but the problem is, that the htmlInformationWindow doesn't show up..
Thanks for help !
Google map APIs does not show more than one htmlInformationWindow in the same time.
Is there a way to place a commandLink or something like that into this information field?