[Gmod-ajax] Assistance with conditional multi store loading

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Gmod-ajax] Assistance with conditional multi store loading

Keiran Raine
Hi all,

Does anyone know how I can get a store to not load data if the px/bp is below a threshold?

In ProprotionalMultiBw I borrowed heavily from MultiBigWig for the ability to load multiple bigwig files.  By default the code automatically only displays bp resolution features when
zoomed sufficiently.  What I'd like to be able to do is apply this logic much earlier, not loading the data for that layer from the server at all.

Setting `chunkSizeLimit` isn't really the best as we would be able to render the 'counts/depth' data for far larger regions if the other resources aren't loaded.

If someone could point me in the right direction that would be great


Keiran Raine
Principal Bioinformatician
Cancer Genome Project
Wellcome Trust Sanger Institute

Tel:+44 (0)1223 834244 Ext: 7703
Office: H104

-- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.


Gmod-ajax mailing list
[hidden email]