trying some tweaks to render queue processing...
This commit is contained in:
parent
f130483c52
commit
665dad0bab
@ -54,10 +54,10 @@ window.MapDataRequest = function() {
|
|||||||
// render queue
|
// render queue
|
||||||
// number of items to process in each render pass. there are pros and cons to smaller and larger values
|
// number of items to process in each render pass. there are pros and cons to smaller and larger values
|
||||||
// (however, if using leaflet canvas rendering, it makes sense to push as much as possible through every time)
|
// (however, if using leaflet canvas rendering, it makes sense to push as much as possible through every time)
|
||||||
this.RENDER_BATCH_SIZE = L.Path.CANVAS ? 1E9 : (typeof android === 'undefined') ? 2000 : 500;
|
this.RENDER_BATCH_SIZE = L.Path.CANVAS ? 1E9 : (typeof android === 'undefined') ? 200 : 100;
|
||||||
|
|
||||||
// delay before repeating the render loop. this gives a better chance for user interaction
|
// delay before repeating the render loop. this gives a better chance for user interaction
|
||||||
this.RENDER_PAUSE = 0.05; //50ms
|
this.RENDER_PAUSE = 0.1; //100ms
|
||||||
|
|
||||||
|
|
||||||
this.REFRESH_CLOSE = 300; // refresh time to use for close views z>12 when not idle and not moving
|
this.REFRESH_CLOSE = 300; // refresh time to use for close views z>12 when not idle and not moving
|
||||||
|
Loading…
x
Reference in New Issue
Block a user