My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
polylineComponent  
Updated Feb 4, 2010 by Hazem.sa...@gmail.com

It can be a child of the (map) component.

Attributes

Beside the JSF UIComponent standard attributes.

Component Attribute Required Description Default value
lineWidth false The polyline line width. 10
hexaColor false The hexa color of the polyline. #ff0000
opacity false The opacity of the polyline. 1
geodesic false This flag determines whether the polyline is geodesic. #ff0000
jsVariable false This flag determines the Javascript variable you want to use for referring to the polyline. Use this attribute if you want to use write additional Javascript code for the polyline to customize it. NA

Comment by bahtiyar...@gmail.com, Mar 26, 2009

Is there anyone that is able to draw several lines (yes just to points for a polyline) with ui:repeat? I think there is a problem with that. You can just put lots of markers on your map, but when you try to draw links between your markers, you're stucked.

Comment by gurpreet...@gmail.com, Aug 5, 2009

We are facing the same problem. Any inputs would be appreciated.

Thanks, Gurpreet.

Comment by project member Hazem.sa...@gmail.com, Aug 6, 2009

<ui:repeat> does not support <m:point> till now, Please open an issue for this.

Comment by roger....@notify.co.uk, Jan 30, 2010

Downloaded 1.1.3 and all is working okay.

Tried adding a repeat PolyLine? but nothing display, just my markers;

<a4j:repeat value="#{pinPointsList}" var="pinpoints">

<m:marker latitude="#{pinpoints.latitude}" longitude="#{pinpoints.longitude}"> <m:icon imageURL="#{pinpoints.marker}"/> <m:htmlInformationWindow htmlText="#{pinpoints.deviceDateTime} Latitude = # {pinpoints.latitude} Longitude = #{pinpoints.longitude}" /> </m:marker>
</a4j:repeat> <a4j:repeat value="#{pinPointsList}" var="pinpoints">
<m:polyline lineWidth="5" hexaColor="#ff0000" geodesic="true">
<m:point latitude="#{pinpoints.latitude}" longitude="#{pinpoints.longitude}" />
</m:polyline>
</a4j:repeat>

Comment by roger....@notify.co.uk, Jan 30, 2010

Please ignore move the repeat tag so just around the m:point and works a treat.

Any chance of intergrating Google Maps Directions in next release? It plots line along the route which is what I want to do.

Trying to get working in Seam by calling my EJB from a JavaScript? fuction using remote to get the data, then using Google's JS functions. Nightmare.

Thanks,

Comment by project member robert2...@gmail.com, Aug 14, 2010

Please add 'id', 'binding' and 'rendered' basic HTML tag attributes to be consistend with MyFaces? Tomahawk documentation: http://myfaces.apache.org/tomahawk-project/tomahawk12/tagdoc.html

Comment by chandras...@gmail.com, Nov 22, 2010

Hi

I am also using gmaf4jsf-core.jar file,using show the google map but did not draw the polyline pls any one help..

Thanks Chandrasekaran.k

Comment by project member Hazem.sa...@gmail.com, Nov 23, 2010

@Chandrasekaran,

Which version and what is the page code. Please post our question to the user group.

Thanks

Comment by chandras...@gmail.com, Nov 23, 2010

Hi Hazem

i am using gmaps4jsf1.1.3.jar using my project..UI developing jsf2.0 Facelets.. markers show on the map.but dnot show polyline..

<ui:repeat value="#{userBean.locationponit}" var="loca"> <m:polyline lineWidth="10" hexaColor="#ff0000" geodesic="false"> <m:point latitude="#{loca.latitude}" longitude="#{loca.longitude}" /> </m:polyline>

Thanks chandrasekaran chennai

</ui:repeat>
Comment by project member Hazem.sa...@gmail.com, Nov 23, 2010

@Chandrasekaran: This will work with you.

<m:polyline lineWidth="10" hexaColor="#ff0000" geodesic="false"> <ui:repeat value="#{userBean.locationponit}" var="loca"> <m:point latitude="#{loca.latitude}" longitude="#{loca.longitude}"> </ui:repeat> </m:polyline>

Comment by chandras...@gmail.com, Nov 23, 2010

Hi Hazem

working polyline in my project Thanks...

Chandrasekaran.k Chennai

Comment by chandras...@gmail.com, Nov 26, 2010

Hi Hazem

How to draw the circle using geofencing..

Comment by project member Hazem.sa...@gmail.com, Nov 26, 2010
Comment by chandras...@gmail.com, Jan 28, 2011

Hi Hazem

I have to develop Reverse Geocode in jsf2.0

i follow to this url https://www.ibm.com/developerworks/mydeveloperworks/blogs/hazem/?maxresults=100&sortby=3&lang=pt_br

But i get following error JSF1073: javax.faces.event.AbortProcessingException? caught during processing of PROCESS_VALIDATIONS 3 : UIComponent-ClientId?=mashupForm:marker1, Message=/faces/mashups.xhtml @27,106 valueChangeListener="#{geocode.processValueChangeForMarker}": Target Unreachable, identifier 'geocode' resolved to null 14:33:20,765 SEVERE [javax.enterprise.resource.webcontainer.jsf.context] /faces/mashups.xhtml @27,106 valueChangeListener="#{geocode.processValueChangeForMarker}": Target Unreachable, identifier 'geocode' resolved to null: javax.faces.event.AbortProcessingException?: /faces/mashups.xhtml @27,106 valueChangeListener="#{geocode.processValueChangeForMarker}": Target Unreachable, identifier 'geocode' resolved to null

Comment by shekar.s...@gmail.com, Jan 31, 2011

Hi

1)i wil give lat/long value to gmap,it convert location name and area code..

2) I created a map with a marker using GMaps4JSF, after dragging the marker to any location of the map, the reverse Geocoder service is called to get the location name,latitude and longitude.i create sample application but get following Error,but i am using JSF2.0 Facelets....

javax.faces.event.AbortProcessingException?? caught during processing of PROCESS_VALIDATIONS 3 : UIComponent-ClientId??=mashupForm:marker1, Message=/faces/mashups.xhtml @27,106 valueChangeListener="#{geocode.processValueChangeForMarker}": Target Unreachable, identifier 'geocode' resolved to null

SEVERE javax.enterprise.resource.webcontainer.jsf.context? /faces/mashups.xhtml @27,106 valueChangeListener="#{geocode.processValueChangeForMarker}": Target Unreachable, identifier 'geocode' resolved to null: javax.faces.event.AbortProcessingException??: /faces/mashups.xhtml @27,106 valueChangeListener="#{geocode.processValueChangeForMarker}": Target Unreachable, identifier 'geocode' resolved to null

pls tell, how to solve this error

Thank you

By Chandrasekaran

Comment by micha.roesler@gmail.com, Apr 12, 2011

Did you enable Context & Dependency Injection, via a beans.xml file in the WEB-INF folder?

Comment by wini...@gmail.com, Nov 14, 2011
is possible without using Polylines m: point? address to use in his place?

Sign in to add a comment
Powered by Google Project Hosting