Creation de la carte WEB
This commit is contained in:
parent
2358e11cd4
commit
7047d50a75
9 changed files with 62 additions and 1133 deletions
|
|
@ -41,7 +41,6 @@ search_form.addEventListener("submit", e => {
|
|||
let resultElements = []
|
||||
|
||||
let search_results = places.search(data.get("query"))
|
||||
console.log("Search results:", search_results)
|
||||
|
||||
for(let result_item of search_results){
|
||||
let el = document.createElement("li")
|
||||
|
|
|
|||
|
|
@ -67,8 +67,8 @@ export async function init(){
|
|||
|
||||
// La couche custom de l'antenne
|
||||
L.tileLayer('./tuiles/{z}/{x}/{y}.png', {
|
||||
minZoom: 14,
|
||||
maxZoom: 23
|
||||
minZoom: 19,
|
||||
maxZoom: 21
|
||||
}).addTo(map)
|
||||
|
||||
// Parametrage de la carte initiale
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue