From 521bb6c4c6db08372d6a682c78961639eb3389db Mon Sep 17 00:00:00 2001 From: BlubbFish Date: Sat, 7 Sep 2019 17:20:56 +0200 Subject: [PATCH] popup box max width bigger --- Lora-Map/resources/js/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lora-Map/resources/js/map.js b/Lora-Map/resources/js/map.js index 700d8f1..da9ec20 100644 --- a/Lora-Map/resources/js/map.js +++ b/Lora-Map/resources/js/map.js @@ -142,7 +142,7 @@ if (feature.properties.hasOwnProperty("description")) { text = text + "
" + feature.properties.description; } - layer.bindPopup(text); + layer.bindPopup(text, { maxWidth: 485 }); } }, pointToLayer: function (geoJsonPoint, latlng) {