is it throwing any errors or just failing silently?

can you post any more code?

On Wed, Oct 22, 2008 at 6:21 PM, bongtk <[EMAIL PROTECTED]> wrote:
> dear all,
>
> goodday!
> i had encountered problem of creating and displaying the marker after
> creating using the code below using mgos 2.0:
>               $name = $featureReader->GetString('NAME');
>               $byteReader = $featureReader->GetGeometry('GEOMETRY');
>
>               $geometry = $geometryReaderWriter->Read($byteReader);
>               $point = $geometry->GetCentroid();
>               $x = $point->GetCoordinate()->GetX();
>               $y = $point->GetCoordinate()->GetY();
>
>               // Create an insert command for this parcel.
>
>               $properties = new MgPropertyCollection();
>               $properties->Add(new MgStringProperty('Owner', $name));
>               $properties->Add(new MgGeometryProperty('Location',
> $geometryReaderWriter->Write($point)));
>               $parcelMarkerCommands->Add(new
> MgInsertFeatures('ParcelMarker', $properties));
>
> i'd used the same code to display the marker using mgos 1.1 and it works
> well. can any of you give some advice?
> appreciate, thanz a lot.
>
> regards, bongtk
> _______________________________________________
> mapguide-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



-- 
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to