mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 16:24:25 +08:00
code refactor
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user