Upload demo/app.js with huggingface_hub
Browse files33 unmodified lines34353637383933 unmodified linesconst r = cv.getBoundingClientRect();dpr = Math.min(2, window.devicePixelRatio || 1);W = r.width; H = r.height;cv.width = W * dpr; cv.height = H * dpr;ctx.setTransform(dpr, 0, 0, dpr, 0, 0);drawMap();33 unmodified lines3435363738394033 unmodified linesconst r = cv.getBoundingClientRect();dpr = Math.min(2, window.devicePixelRatio || 1);W = r.width; H = r.height;if (H < 50) H = 420;cv.width = W * dpr; cv.height = H * dpr;ctx.setTransform(dpr, 0, 0, dpr, 0, 0);drawMap();
demo/app.js+1