Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ServerInfo

Represents the information about the server that the GeoStream client is connected to, including information about datasets, map styles, and stats reporting.

Hierarchy

  • ServerInfo

Index

Constructors

constructor

  • Parameters

    Returns ServerInfo

Properties

Optional availableVectorStyles

availableVectorStyles: object

Type declaration

  • [style: string]: number[]

clientStatsInfo

clientStatsInfo: ClientStatsInfo

The ClientStatsInfo object, which contains information about how the client should report statistics to the server.

dataSetsNameHash

dataSetsNameHash: NameHashPair[]

The names and hash codes for the datasets.

dataSetsRepositoryData

dataSetsRepositoryData: NameBoundingBoxPair[]

The list of NameBoundingBoxPair objects containing RepositoryBoundingBoxData.

defaultDataSetName

defaultDataSetName: string

The name of the default dataset.

Optional defaultVectorStyleName

defaultVectorStyleName: string

fetchedOn

fetchedOn: Date = new Date()

The date when the server information was fetched.

mapStylesNameHash

mapStylesNameHash: NameHashPair[]

The names and hash codes for the map styles.

Static ASSEMBLY_NAME

ASSEMBLY_NAME: string = GEOBASE_ASSEMBLY_NAME

Static CLASS_NAME

CLASS_NAME: string = "Telogis.GeoBase.GeoStream.Authentication.ServerInfo"

Methods

getDataSetHash

  • getDataSetHash(datasetName: string): string
  • Returns the hash code for a given dataset.

    Parameters

    • datasetName: string

    Returns string

getDataSetNames

  • getDataSetNames(): string[]
  • Returns the names of the datasets.

    Returns string[]

getDataSetsRepositoryData

  • Returns the list of RepositoryBoundingBoxData objects for a given dataset.

    Parameters

    • datasetName: string

    Returns RepositoryBoundingBoxData[]

getMapStyleHash

  • getMapStyleHash(mapStyleName: string): string
  • Returns the hash code for a given map style.

    Parameters

    • mapStyleName: string

    Returns string

getMapStyleNames

  • getMapStyleNames(): string[]
  • Returns the names of the map styles.

    Returns string[]

hasTileSpecificHashData

  • hasTileSpecificHashData(): boolean
  • Whether or not the server supports tile specific hashes.

    Returns boolean

Generated using TypeDoc