Type Alias MapTiler3DModuleConfig

type MapTiler3DModuleConfig = {
    EPSILON: number;
    USE_DEBUG_LOGS: boolean;
}
Index

Properties

EPSILON: number

An epsilon to make sure the reference anchor point is not exactly at the center of the viewport, but still very close. This is because ThreeJS light shaders were messed up with reference point in the center. This issue is only happening because we are doing the projection matrix trick, otherwise we wouldn't bother with epsilon

USE_DEBUG_LOGS: boolean

Whether to use debug logs.

Was this helpful?

SDK JS
Modules
Reference
types
MapTiler3DModuleConfig