[mapguide-users] Solved Upgrade code from 0.76 to 2 beta 2
Jose Manuel C G
gis at mapas-sll.com
Tue Jan 8 12:22:36 EST 2008
The error isn't in the source code, is in the repository.
I uploaded a .shp called street, and I renamed it Street with Studio. So I
thought the Feature class changes too. wrong!
Beware with this!
Jose Manuel C G wrote:
> Hello again!
> I have a code that doesn't work in the new version 2.0 about select in a
> $featureResId = new MgResourceIdentifier($resLibrary);
> $queryOptions = new MgFeatureQueryOptions();
> $queryOptions->SetFilter("KEY LIKE '" . $key . "'");
> $featureReader = $featureService->SelectFeatures($featureResId, $resID,
> $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-tp14687176s16610p14694335.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users