Remove padding on map render

We don’t need it now we’re projecting a bigger bleed.
This commit is contained in:
Chris Hill-Scott
2020-08-25 17:36:02 +01:00
parent 3d9d663b27
commit 64291c8c95

View File

@@ -73,7 +73,7 @@
var polygonGroup = L.featureGroup(polygons).addTo(mymap); var polygonGroup = L.featureGroup(polygons).addTo(mymap);
mymap.fitBounds( mymap.fitBounds(
polygonGroup.getBounds(), polygonGroup.getBounds(),
{padding: [5, 5]} {padding: [1, 1]}
); );
</script> </script>