[mapguide-users] Issue in Draw Polygon
jaspune at hotmail.com
Mon Jan 14 06:49:41 EST 2008
I have found the issue following is the solution
Dim OLinRin As MgLinearRing =
Dim pPgon As MgPolygon =
pPgon = CType(pPgon.Transform(GetTransform()), MgPolygon)
Where CoorColl is collection of Co-ordinates
inner ring has to be provided as Nothing
Dim pPgon As MgPolygon = geometryFactory.CreatePolygon(OLinRin, inLnRing)
> I am fairly new to the group. This is my first post. I have a issue with
> "Draw polygon".
> I am using MapGuide 1.2 when I try to add a polygon by using following
> syntax it does not draw. My outer line is defined for polygon and innear
> line is not required I try to add "null" in .NET language it does not draw
> a polygon for me.
> Dim pPgon As MgPolygon = geometryFactory.CreatePolygon(OLinRin, inLnRing)
> Any help in this matter is appriciated.
View this message in context: http://www.nabble.com/Issue-in-Draw-Polygon-tp14790629s16610p14799526.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users