Skip to content

Commit 1eb9bbd

Browse files
committed
refactor: await initBaseMap
1 parent 5abfe9f commit 1eb9bbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GeomapPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ export class GeomapPanel extends Component<Props, State> {
413413
this.mouseWheelZoom = new MouseWheelZoom();
414414
this.map.addInteraction(this.mouseWheelZoom);
415415
await this.initControls(options.controls);
416-
this.initBasemap(options.basemap);
416+
await this.initBasemap(options.basemap);
417417
await this.initLayers(options.layers);
418418
this.forceUpdate(); // first render
419419

0 commit comments

Comments
 (0)