emnadridi / gmaps4jsf

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

Draw polygons in real time #155

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How can the user draw a polygon on the map in "real time"as in Google earth? It 
would be very useful this function in my project.

Original issue reported on code.google.com by emanoelt...@gmail.com on 16 Feb 2011 at 1:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
What I do: 
http://googlemapsapi.blogspot.com/2008/05/love-my-maps-use-its-line-and-shape.ht
ml. I want to use the editing of polygons shown on the site. I can do that with 
gmaps4jsf?

Original comment by emanoelt...@gmail.com on 16 Feb 2011 at 1:54

GoogleCodeExporter commented 9 years ago
You can use the ui:repeat tag with the m:point tag inside the m:polygon tag.

See this example on the marker:
http://www.jroller.com/HazemBlog/entry/ui_repeat_works_with_gmaps4jsf

Original comment by Hazem.sa...@gmail.com on 21 Feb 2011 at 8:22