Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • default

Index

Constructors

  • new default($injector: IInjectorService): default

Properties

module: IModule

Methods

  • cancel(): void
  • getOfflineService_(serviceLike: unknown, method: string): unknown
  • restore(map: Map): Promise<Extent>
  • Ask the provided service to restore the saved data on the map

    Parameters

    • map: Map

      The map to work on.

    Returns Promise<Extent>

    A promise to the extent of the downloaded area

  • save(extent: Extent, map: Map): void
  • Ask the provided service to save the data to an offline purpose

    Parameters

    • extent: Extent

      The extent to download.

    • map: Map

      The map to work on.

    Returns void

  • setRestoreService(restoreLikeService: string | { restore: Function }): void
  • Set the service to call on 'restore'

    Parameters

    • restoreLikeService: string | { restore: Function }

      A service name that can be injected or an object that have a 'restore' method.

    Returns void

  • setSaveService(saveLikeService: string | { save: Function }): void
  • Set the service to call on 'save'.

    Parameters

    • saveLikeService: string | { save: Function }

      A service name that can be injected or an object that have a 'save' method.

    Returns void

Generated using TypeDoc