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.

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to