public Guid CreateLayerFilter( DisplayData displayData, Action action, Layer layer, uint weight) { var filterId = IpFilterNative.CreateLayerFilter( Session.Handle, ProviderId, Id, displayData, layer, action, weight, Guid.Empty, Guid.Empty); AddFilter(filterId); return(filterId); }
public Guid CreateLayerCalloutFilter( DisplayData displayData, Layer layer, uint weight, Callout callout, ProviderContext providerContext) { var filterId = IpFilterNative.CreateLayerFilter( Session.Handle, ProviderId, Id, displayData, layer, Action.Callout, weight, callout.Id, providerContext.Id); AddFilter(filterId); return(filterId); }