[mapguide-users] MgLayer.SelectFeatures ..... am I missing something here?

Jackie Ng jumpinjackie at gmail.com
Wed Dec 16 03:10:50 EST 2009


I think that filter is for stylization/rendering purposes only.

Someone can correct me if need be.

- Jackie


Jamo wrote:
> 
> I'm sure I've been here before but here goes it again.
> 
> I'm attempting to select a subset of data from a layer .
> 
> MgFeatureReader myFeats = srchLayer.SelectFeatures(Opts);
> 
> I've connected the map using 
> 
> MgMap map = new MgMap(siteConnection);
> map.Open(mapName);
> 
> 
> Now the problem is , I thought the layers filter would have been used
> prior to filling the feature reader ? It seem to select all features from
> the feature source.
> 
> I have a single feature source that is split out to many layers, by
> putting layer filters on.
> 
> Can someone tell me what I'm doing wrong here, or am I mad to think that
> the .SelectFeatures on the layer should actually select features on the
> layer only ?
> 
> 

-- 
View this message in context: http://n2.nabble.com/MgLayer-SelectFeatures-am-I-missing-something-here-tp4174001p4174252.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list