Update render.js
This commit is contained in:
parent
5f40c26349
commit
26b8ed2466
1 changed files with 2 additions and 1 deletions
|
@ -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() {
|
function drawOnCanvas() {
|
||||||
// Check if the images should be resized before beeing drawn
|
// Check if the images should be resized before beeing drawn
|
||||||
|
|
Loading…
Reference in a new issue