mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
refactor(react/collections): reintroduce scale
This commit is contained in:
@@ -39,14 +39,6 @@ export default class GeoView extends ViewMode<MapData> {
|
||||
args.$parent.append(this.$root);
|
||||
}
|
||||
|
||||
async renderMap() {
|
||||
const layerName = this.parentNote.getLabelValue("map:style") ?? ;
|
||||
|
||||
if (this.parentNote.hasLabel("map:scale")) {
|
||||
L.control.scale().addTo(map);
|
||||
}
|
||||
}
|
||||
|
||||
async #onMapInitialized() {
|
||||
const map = this.map;
|
||||
if (!map) {
|
||||
|
||||
Reference in New Issue
Block a user