commentaire lors de la lecture du code
This commit is contained in:
1
dist/app.js
vendored
1
dist/app.js
vendored
@@ -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
3
dist/index.js
vendored
@@ -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"),
|
||||||
|
|||||||
Reference in New Issue
Block a user