nl_tokens: Finds and applies optimal multires zoom level .
pl_tokens: function checkZoom ( hfov ) { // Find optimal level var newLevel = 1 ; while ( newLevel < image . maxLevel && gl . drawingBufferWidth > image . tileResolution * Math . pow ( 2 , newLevel - 1 ) * Math . tan ( hfov / 2 ) * 0.707 ) { newLevel ++ ; } // Apply change <mask> . level = newLevel ; }