GeoLeaf Core API - v3.19.0
    Preparing search index...

    Function validateTerrainConfig

    • Says, once, what is wrong with the terrain a basemap declares. Called when the basemap is registered: a profile is told at boot, not at the first tilt.

      • terrain.enabled without terrain.demUrl: an error, and the terrain is never drawn.
      • activation: "pitch" with pitch, bearing or default3D: true: a warning — they describe the activation by selection, and are not read.
      • A threshold that cannot be honoured: an error, naming the value used instead.
      • A threshold without activation: "pitch": a warning — it is not read.

      Parameters

      • definition: BasemapDefinition

        The basemap definition being registered.

      • key: string

        Its key, for the log messages.

      Returns void