Function GetPosAsync

  • Returns the position of the entity. This is an async variant that checks for related tilesets.

    Parameters

    • params: {
          api?: Api;
          entity?: IEntity;
          entityId?: string;
          recordHeightRef?: HeightReference;
          returnHeightRef?: HeightReference;
          tileset?: ITileset;
          tilesetId?: string;
          viewer: Viewer;
          visualRegister?: Register;
      }
      • Optional api?: Api
      • Optional entity?: IEntity
      • Optional entityId?: string
      • Optional recordHeightRef?: HeightReference
      • Optional returnHeightRef?: HeightReference
      • Optional tileset?: ITileset
      • Optional tilesetId?: string
      • viewer: Viewer
      • Optional visualRegister?: Register

    Returns Promise<Cartesian3>

    Deprecated

    use GetLocation instead.

Generated using TypeDoc