From 0c9206d2328ff4314f8f438b40d3230b79f00028 Mon Sep 17 00:00:00 2001 From: Robert Richter Date: Wed, 11 Mar 2020 13:01:01 +0100 Subject: [PATCH] =?UTF-8?q?update=20Mi=2011.=20M=C3=A4r=2013:01:01=20CET?= =?UTF-8?q?=202020?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/client_rmld.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/client_rmld.js b/public/js/client_rmld.js index 8742484..345d28a 100755 --- a/public/js/client_rmld.js +++ b/public/js/client_rmld.js @@ -41,7 +41,7 @@ if (einsatzdaten_obj.wgs84_x && einsatzdaten_obj.wgs84_y) { } else { var geojson = L.geoJSON(JSON.parse(einsatzdaten_obj.wgs84_area)).addTo(map); // - map.fitBounds(JSON.parse(einsatzdaten_obj.wgs84_area)); + map.fitBounds(geojson.getBounds()); }