Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICityJSONDefaultDataSource

Hierarchy

  • ICityJSONDefaultDataSource

Index

Methods

  • getCityJSON(src: string | number, ok: (json: any) => void, error: (e: Error) => void): void
  • Gets the contents of the given CityJSON file.

    Parameters

    • src: string | number

      Path or ID of an CityJSON file.

    • ok: (json: any) => void

      Callback fired on success, argument is the CityJSON JSON.

        • (json: any): void
        • Parameters

          • json: any

          Returns void

    • error: (e: Error) => void

      Callback fired on error.

        • (e: Error): void
        • Parameters

          • e: Error

          Returns void

    Returns void

Generated using TypeDoc