whiteglasses48 / osmbonuspack

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

stroke Polygon Overlay don't closes the surface #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a Polygon with 3 separated points
2. Draw it

What is the expected output? What do you see instead?

The line enclosing goes from point 1 to point 2 and from point 2 to point 3. 
But it's missing point 3 to point 1, as 
com.google.android.gms.maps.model.Polygon does.

What version of the product are you using?

4.2.4

Original issue reported on code.google.com by mes...@sindominio.net on 8 Jan 2014 at 8:17

GoogleCodeExporter commented 8 years ago
try to add the first point again 

Original comment by Gilbert9...@gmail.com on 8 Jan 2014 at 6:32

GoogleCodeExporter commented 8 years ago
Yes, adding the first point again works as a work around for me. Thanks

Original comment by mes...@sindominio.net on 8 Jan 2014 at 8:10

GoogleCodeExporter commented 8 years ago
For Polygon, Google Maps API states that: "It is not necessary for the start 
and end points to coincide; if they do not, the polygon will be automatically 
closed."
So, Meskio, you are right, this is a bug. 

Fixed in r299. 
It will be fixed in next version of the jar. 

Original comment by mathieu....@gmail.com on 9 Jan 2014 at 9:50

GoogleCodeExporter commented 8 years ago
Fixed in v4.2.5. 

Original comment by mathieu....@gmail.com on 22 Jan 2014 at 11:19