commentaire lors de la lecture du code

This commit is contained in:
2024-02-02 16:28:21 +01:00
parent 7b287b57cd
commit c59030584f
2 changed files with 3 additions and 1 deletions

1
dist/app.js vendored
View File

@@ -5309,6 +5309,7 @@ function forceCenter(x, y) {
height = 600; height = 600;
this.width = width; this.width = width;
this.height = height; this.height = height;
// potentiel zoom
this.zoom_level = opts.zoom || 1.5; this.zoom_level = opts.zoom || 1.5;
this.apiurl = opts.apiurl; this.apiurl = opts.apiurl;
this.categorylabel = opts.categorylabel || "Category"; this.categorylabel = opts.categorylabel || "Category";

3
dist/index.js vendored
View File

@@ -7,7 +7,8 @@ var svg = document.querySelector("#svg"),
svg: "#svg", svg: "#svg",
categorylabel: "Catégorie", categorylabel: "Catégorie",
categorydiv: "#cats .body", categorydiv: "#cats .body",
zoom: 3.0 // permet de controler le niveau de zoom de la carte
zoom: 3,
}), }),
zoom_in = document.querySelector(".leaflet-control-zoom-in"), zoom_in = document.querySelector(".leaflet-control-zoom-in"),
zoom_out = document.querySelector(".leaflet-control-zoom-out"), zoom_out = document.querySelector(".leaflet-control-zoom-out"),