${tmplFnIf(imgTmpl, imgSrc)}
${
@@ -518,12 +527,12 @@
// so hopefully it won't cause grief
_createPopup(settings={}, config={}) {
this.settings = settings;
- const { title, data, styleScope, maxWidth, minWidth } = settings;
+ const { title, data, styleScope, margin, maxWidth, minWidth } = settings;
const content = this._generatePopupContent(title, data);
const className = `map-popup-data ${styleScope||''}`
- this.initialize({ className, maxWidth, minWidth });
+ this.initialize({ className, margin, maxWidth, minWidth });
this.setContent(content);
}