Adding a Leaflet rectangle

Add a Leaflet rectangle to a map.

<!DOCTYPE HTML>
<html>
  <head>
    <script src="https://unpkg.com/wrld.js@1.x.x"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.1/leaflet.css" rel="stylesheet" />
  </head>
  
  <body>
  <div style="position: relative">
    <div id="map" style="height: 400px"></div>
    <script>
      var map = Wrld.map("map", "your_api_key_here", {
        center: [37.766872, -122.456037],
        zoom: 17
      });
      
      var bounds = [[37.767202, -122.456709], [37.766560, -122.455316]];     
      var rectangle = Wrld.rectangle(bounds).addTo(map);
    </script>
  </div>
  </body>
</html>
v1.1.0