[mapguide-users] MgCurvePolygon help

Ivan Milicevic Ivan.Milicevic at supranet.hr
Mon Mar 30 08:44:48 EDT 2009


Hello, 

open http://localhost/mapguide/mapagent/index.html click on
Resource->GetResourceContent

Maybe your feature source is set to "read only"...

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jsm
Sent: Saturday, March 28, 2009 5:38 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] MgCurvePolygon help


Hi,

I am trying to make a donut (a circle with a circle cut out in it). I am
following this example:

http://mapguide.osgeo.org/files/mapguide/docs/webapi/d6/dca/class_mg_cur
ve_polygon.htm

I have spent too much time trying this and I just cant figure out what
is wrong...

No error is thrown, but the feature never shows up on my map, if I do a
simple circle (only one ring and null for second parameter when building
using CreateCurvePolygon) I get a circle.

I have actually done the same using MgPolygon (a polygon with a polygon
cut out inside) following this:

http://mapguide.osgeo.org/files/mapguide/docs/webapi/d7/ddb/class_mg_pol
ygon.htm 

And it works!

It just doesn't work with a circle. Can someone please confirm the
example works? If someone can confirm it is possible to make a donut, I
will post my code.

Thank You
-- 
View this message in context:
http://n2.nabble.com/MgCurvePolygon-help-tp2548036p2548036.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list