Class FileService

Hierarchy

  • FileService

Properties

isGpx: ((fileContent: string) => boolean)

Type declaration

    • (fileContent: string): boolean
    • Returns

      Parameters

      • fileContent: string

      Returns boolean

isKml: ((fileContent: string) => boolean)

Type declaration

    • (fileContent: string): boolean
    • Returns

      Parameters

      • fileContent: string

      Returns boolean

isValidFileSize: ((fileSize: number) => boolean)

Type declaration

    • (fileSize: number): boolean
    • Returns

      Parameters

      • fileSize: number

      Returns boolean

isWmsGetCap: ((fileContent: string) => boolean)

Type declaration

    • (fileContent: string): boolean
    • Returns

      Parameters

      • fileContent: string

      Returns boolean

isWmtsGetCap: ((fileContent: string) => boolean)

Type declaration

    • (fileContent: string): boolean
    • Returns

      Parameters

      • fileContent: string

      Returns boolean

load: ((url: string, opt_cancelP?: IDeferred<unknown>) => IPromise<Blob>)

Type declaration

    • (url: string, opt_cancelP?: IDeferred<unknown>): IPromise<Blob>
    • Returns

      .

      Parameters

      • url: string

        .

      • Optional opt_cancelP: IDeferred<unknown>

        .

      Returns IPromise<Blob>

read: ((file: Blob) => IPromise<string>)

Type declaration

    • (file: Blob): IPromise<string>
    • Returns

      .

      Parameters

      • file: Blob

        .

      Returns IPromise<string>

Generated using TypeDoc