Cancel precaching map data

Cancel an operation to precache map data for future use.

<!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.7952, -122.4028],
        zoom: 16
      });

      var precacheCompleteCallback = function(precacheResult) {
        if (precacheResult.getSucceeded()) {
          alert("Precaching complete");
        } else {
          alert("Precaching cancelled");
        }
      };
      
      <!-- Start precaching a 2000 meter radius around this point -->
      var precacheOperation = map.precacheWithDetailedResult([37.7952, -122.4028], 2000, precacheCompleteCallback);
      <!-- Cancel the operation -->
      precacheOperation.cancel();
    </script>

  </div>
  </body>
</html>
v1.1.0