3D-City Model
    Preparing search index...
    • High-level loader function, returning a Cesium imagery layer for a PNG+world file.

      Parameters

      • imageUrl: string

        URL to the PNG or JPG file.

      • worldFileUrl: string

        URL to its world file (.pgw, .jgw).

      Returns Promise<ImageryLayer>

      Imagery layer covering the referenced area.

      const imageryLayer = await load('map.png', 'map.pgw');
      viewer.imageryLayers.add(imageryLayer);