code refactor

This commit is contained in:
MaysWind
2025-01-06 21:42:36 +08:00
parent f56bef40d8
commit 166fae425d
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ export class LeafletMapInstance implements MapInstance {
private leafletAttribution: unknown | null;
private leafletCenterMarker: unknown | null;
constructor(mapProvider: string, mapTileSource: LeafletTileSource) {
public constructor(mapProvider: string, mapTileSource: LeafletTileSource) {
this.dependencyLoaded = !!LeafletMapProvider.Leaflet;
this.mapProvider = mapProvider;