diff --git a/dist/app.js b/dist/app.js index 3a07eeb..1710741 100644 --- a/dist/app.js +++ b/dist/app.js @@ -5309,6 +5309,7 @@ function forceCenter(x, y) { height = 600; this.width = width; this.height = height; + // potentiel zoom this.zoom_level = opts.zoom || 1.5; this.apiurl = opts.apiurl; this.categorylabel = opts.categorylabel || "Category"; diff --git a/dist/index.js b/dist/index.js index f14a127..48c47f4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7,7 +7,8 @@ var svg = document.querySelector("#svg"), svg: "#svg", categorylabel: "Catégorie", 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_out = document.querySelector(".leaflet-control-zoom-out"),