diff --git a/src/render.js b/src/render.js index f7376f4..7b950c5 100644 --- a/src/render.js +++ b/src/render.js @@ -69,7 +69,8 @@ function drawMarker(ctx, marker, z) { } /** - * + * Draws the marker image on the canvas, handling scaling if necessary. + * Resolves the parent promise once the image is drawn. */ function drawOnCanvas() { // Check if the images should be resized before beeing drawn