code: function () {
          var pathAttributes = new WorldWind.ShapeAttributes(null);
          pathAttributes.interiorColor = WorldWind.Color.CYAN;
          pathAttributes.outlineColor= WorldWind.Color.BLUE;
  
          var pathPositions = [
              new WorldWind.Position(40, -100, 1e4),
              new WorldWind.Position(45, -110, 1e4),
              new WorldWind.Position(46, -122, 1e4)
          ];
          var path = new WorldWind.Path(pathPositions);
          path.attributes = pathAttributes;
          path.altitudeMode = WorldWind.RELATIVE_TO_GROUND;
          path.followTerrain = true;
  
          var pathLayer = new WorldWind.RenderableLayer("Path Layer");
          pathLayer.addRenderable(path);
  
          return pathLayer;
      }
docs: Make a layer that shows a Path and is shared among the WorldWindows.