add max bounds outline to debug file for easier testing

This commit is contained in:
Vladimir Agafonkin 2013-11-14 17:21:53 +02:00
parent be42f7a3b6
commit e8f249e937

View File

@ -30,6 +30,8 @@
maxBounds: bounds maxBounds: bounds
}); });
var latlngs = L.rectangle(bounds).getLatLngs();
L.polyline(latlngs.concat([latlngs[0]])).addTo(map);
</script> </script>
</body> </body>