TomTom Maps for JavaScript
    Preparing search index...

    Type Alias MapLight

    Where the map's light comes from, as a compass: the light the styling module's view.light.* knobs set, which the 3D buildings of the style and the plugins drawing their own lit surfaces share.

    type MapLight = {
        altitude: number;
        direction: number;
    }
    Index
    altitude: number

    How high the light stands, in degrees above the horizon: 90 is straight overhead.

    direction: number

    The compass direction the light comes from, in degrees clockwise from north, whatever the map's bearing.