package org.argeo.app.geo.swt.openlayers; import org.argeo.app.geo.ux.MapPart; import org.argeo.cms.swt.CmsSwtUtils; import org.eclipse.swt.SWT; import org.eclipse.swt.browser.Browser; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Label; public class OLMap extends Composite implements MapPart { static final long serialVersionUID = 2713128477504858552L; private Label div; public OLMap(Composite parent, int style) { super(parent, style); parent.setLayout(CmsSwtUtils.noSpaceGridLayout()); setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); setLayout(CmsSwtUtils.noSpaceGridLayout()); // div = new Label(this, SWT.NONE); // CmsSwtUtils.markup(div); // CmsSwtUtils.disableMarkupValidation(div); // div.setText(html); // div.setLayoutData(CmsSwtUtils.fillAll()); String html = """