[mapguide-users] Upgrade code from 0.76 to 2 beta 2
Jose Manuel C G
gis at mapas-sll.com
Tue Jan 8 05:59:21 EST 2008
Hello again!
I have a code that doesn't work in the new version 2.0 about select in a
layer.
...
$featureResId = new MgResourceIdentifier($resLibrary);
$queryOptions = new MgFeatureQueryOptions();
$queryOptions->SetFilter("KEY LIKE '" . $key . "'");
$featureReader = $featureService->SelectFeatures($featureResId, $resID,
$queryOptions);
$layer = $map->GetLayers()->GetItem($resLayer);
$selection = new MgSelection($map);
$selection->AddFeatures($layer, $featureReader, $matches);
$selectionXml = $selection->ToXml();
...
I suposse the call to the api change. Any help?
--
View this message in context: http://www.nabble.com/Upgrade-code-from-0.76-to-2-beta-2-tp14687176s16610p14687176.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list