Ayeps / gmaps4jsf

Automatically exported from code.google.com/p/gmaps4jsf
0 stars 0 forks source link

m:polyline does not work with ui:repeat #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Put ui:repeat in your m:map
2. Put m:polyline with two m:point's
3. The map does not render these lines

What is the expected output? What do you see instead?
Expected output is several lines with provided latitude, longitudes.

What version of the product are you using? On what operating system?
gmaps4jsf-core-1.1.2-SNAPSHOT.jar

Please provide any additional information below.
<ui:repeat var="line" value="#{testBean.lines">
<m:polyline lineWidth="4" hexaColor="#{line.color}" geodesic="true">
   <m:point latitude="#{line.fromLatitude}" longitude="#line.fromLongitude}" />
   <m:point latitude="#{line.toLatitude}" longitude="#line.toLongitude}" />
</m:polyline>
</ui:repeat>        

Where line is a class as follows:

--------
public class Line implements Serializable {

    private static final long serialVersionUID = 4330830181018279835L;

    private String color;
    private double fromLatitude;
    private double fromLongitude;

    private double toLatitude;
    private double toLongitude;

... /with its getters/setters written..

Original issue reported on code.google.com by bahtiyar...@gmail.com on 26 Mar 2009 at 3:56

GoogleCodeExporter commented 9 years ago
solved in 1.1.2

Original comment by Hazem.sa...@gmail.com on 12 Apr 2009 at 9:07