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) {