Change the elevation of the blue sphere

Display the blue sphere on the map at a height above the ground.

<!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: [56.459721, -2.977541],
        zoom: 18
      });

      var initialElevationAboveGroundMeters = 0.0;
      var alteredElevationAboveGroundMeters = 45.0;
      var elevationToggle = false;

      function onInitialStreamingComplete() {
        map.blueSphere.setEnabled(true);
        map.blueSphere.setLocation([56.459721, -2.977541]);
        map.blueSphere.setElevation(initialElevationAboveGroundMeters);
        setInterval(function() {
          elevationToggle = !elevationToggle;
          map.blueSphere.setElevation(elevationToggle ? alteredElevationAboveGroundMeters : initialElevationAboveGroundMeters);
        }, 2000);
      }

      map.on("initialstreamingcomplete", onInitialStreamingComplete);
    </script>
  </div>
  </body>
</html>
v1.1.0