We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b426a28 commit a9ac194Copy full SHA for a9ac194
src/renderer/renderer.ts
@@ -352,6 +352,9 @@ export class LeafletRenderer extends MarkdownRenderChild {
352
await this.mapBuilt;
353
this.map.log("MarkdownRenderChild loaded. Appending map.");
354
this.containerEl.appendChild(this.map.contentEl);
355
+ // added because bound's get somehow messed up in the render process and only normalize when calling this.
356
+ // haven't found the cause of the issue, but that seems to work around it. see issue #412
357
+ this.map.leafletInstance.invalidateSize();
358
359
if (!this.parentEl.contains(this.containerEl)) {
360
this.map.log(
0 commit comments