Skip to content

Commit

Permalink
fix: debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
charlieforward9 committed Dec 11, 2024
1 parent d4c90e3 commit 80ef178
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/canvas-overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,14 @@ export class CanvasOverlay extends Layer {

_redraw(): void {
const { _map, canvas } = this;
console.log({
"All the maps we can try": true,
_map: this._map,
map: this.map,
});
if (!_map) {
throw new Error("CanvasOverlay has not been set to a map");
}
const size = _map.getSize();
const bounds = _map.getBounds();
const zoomScale =
Expand Down

0 comments on commit 80ef178

Please sign in to comment.