in src/createMarker.ts [20:32]
render: function () {
const context = this.context;
const markerShape = new Path2D(LOCATION_MARKER);
context.stroke(markerShape);
context.fillStyle = fillColor;
context.strokeStyle = strokeColor;
context.lineWidth = lineWidth;
context.fill(markerShape);
this.data = context.getImageData(0, 0, this.width, this.height).data;
return true;
},