Type alias TShow3DMapOptionsExperimental

TShow3DMapOptions: {
    debug?: boolean;
    dynamicPerformance?: boolean;
    initialFloor?: Floor | string;
    outdoorViewToken?: string;
    shadingAndOutlines?: boolean;
}

Options for showing a 3D map.

Type declaration

  • Optional Experimental debug?: boolean

    Enable debug mode to check the visual representation of performance stats.

    Default

    false
    
  • Optional Experimental dynamicPerformance?: boolean

    Adjust some quality settings automatically based on the current FPS. The algorithm will try to keep the FPS at 25 or higher by following the steps below:

    • If the FPS remains below 26 for the last 5 seconds, the ambient occlusion and antialiasing quality will be decreased.
    • If the FPS remains below 26 for the next 5 seconds, the ambient occlusion and antialiasing quality will be decreased again.
    • If the FPS remains below 26 for another 5 seconds, the ambient occlusion and antialiasing effects will be disabled, and path animation will be disabled, textures' anisotropy will be decreased. The same will happen if the FPS remains below 10 for the last 5 seconds.

    Default

    true
    
  • Optional initialFloor?: Floor | string

    First floor to be rendered. By default, floor with the elevation that's closest to 0 is rendered. All floors will be sorted by elevation in ascending order.

  • Optional outdoorViewToken?: string

    The token is used to fetch outdoor tiles, which will then be rendered.

  • Optional shadingAndOutlines?: boolean

    Enable shading of bottoms of geometry along with outlines to make geometry stand out.

    Default

    true