[mapguide-users] switching to Maestro 5 API
mika at digikartta.net
mika at digikartta.net
Wed Nov 27 02:43:51 PST 2013
Ok,
thanks!
Next question:
MgSelection sel = new MgSelection(map, buffer.selection);
MgReadOnlyLayerCollection selLayers = sel.GetLayers();
MgLayer selLayer = (MgLayer)selLayers.GetItem(0);
String featureClassName =
selLayer.GetFeatureClassName();
String filter = sel.GenerateFilter(selLayer,
featureClassName);
MgFeatureQueryOptions query = new
MgFeatureQueryOptions();
query.SetFilter(filter);
.....
MgFeatureReader features =
featSrvc.SelectFeatures(featureSource, featureClassName, query);
Jackie Ng kirjoitti 2013-11-27 12:26:
> Either use an IBatchInsertFeatures command or re-use the existing
> IInsertFeatures command and update the RecordToInsert with the next
> feature's values after every execution.
>
> - Jackie
>
>
>
> --
> View this message in context:
>
> http://osgeo-org.1560.x6.nabble.com/switching-to-Maestro-5-API-tp5090710p5091434.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