[fusion-users] How to Filter a Fusion layer

pwong previn.wong at sce.com
Thu Mar 22 18:04:05 EDT 2012


I have a map with a polygon layer.  I want to dynamically apply a filter to
the polygon.  I do not want to create a select and then a new layer, I want
to reload the existing layer with the filter.

I have the following code.  I don't see any function or property to set the
filter at the layer level.

    var locMapWidget = Fusion.getWidgetById('Map').aMaps[0];
    var layers = locMapWidget.aLayers;

    var layer = layers[i];
    alert(layer.layerName);

    layer.filter?????

running Mapguide 2011.

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-Filter-a-Fusion-layer-tp4646676p4646676.html
Sent from the Fusion Users mailing list archive at Nabble.com.


More information about the fusion-users mailing list