import { CanvasMap } from "./canvas-map";

export default class StaticCanvasMap {
  init() {
    this.map.init();
  }

  paint() {
    this.map.paint();
  }
}

@@ -75,16 +75,91 @@
 asMap %7B%0A
+  constructor(parameters) %7B%0A    this.map = new CanvasMap(parameters);%0A  %7D%0A%0A
   init()

Declare constructor