Hierarchy

  • StiMapHelper

Index

Properties

Static cache

cache: object

Type declaration

Methods

Static addToCahe

  • addToCahe(map: StiMap, x: number, y: number, width: number, height: number): string
  • Parameters

    • map: StiMap
    • x: number
    • y: number
    • width: number
    • height: number

    Returns string

Static getColors

Static getMapSample

Static getStates

  • getStates(report: StiReport, id: StiMapID, lang: string): string[]
  • Parameters

    • report: StiReport
    • id: StiMapID
    • lang: string

    Returns string[]

Static isAfrica

  • Parameters

    Returns boolean

Static isAsia

  • Parameters

    Returns boolean

Static isEU

  • Parameters

    Returns boolean

Static isNorthAmerica

  • Parameters

    Returns boolean

Static isOceania

  • Parameters

    Returns boolean

Static isSouthAmerica

  • Parameters

    Returns boolean

Static isWorld

  • Parameters

    Returns boolean

Static prepareIsoCode

  • prepareIsoCode(text: string): string
  • Parameters

    • text: string

    Returns string

Static renderOnlineMap

  • renderOnlineMap(str: string): Promise<string>
  • Parameters

    • str: string

    Returns Promise<string>

Generated using TypeDoc