Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CompatUtil

Hierarchy

  • CompatUtil

Index

Properties

Static blue

blue: string = "#0000FF"

Static Private commands

commands: any

Static green

green: string = "#00FF00"

Static red

red: string = "#FF0000"

Static yellow

yellow: string = "#FFFF00"

Methods

Static NormalizeCasing

  • NormalizeCasing(rawObject: any, fields: string[]): any
  • NormalizeCasing(rawObject: any, fields: string[]): any
  • Parameters

    • rawObject: any
    • fields: string[]

    Returns any

  • Parameters

    • rawObject: any
    • fields: string[]

    Returns any

Static clearAllCommands

  • clearAllCommands(): void
  • clearAllCommands(): void
  • Returns void

  • Returns void

Static clearHighlights

  • clearHighlights(bucketid: string): void
  • clearHighlights(bucketid: string): void
  • Parameters

    • bucketid: string

    Returns void

  • Parameters

    • bucketid: string

    Returns void

Static convertArgb

  • convertArgb(argb: string): string
  • convertArgb(argb: string): string
  • Parameters

    • argb: string

    Returns string

  • Parameters

    • argb: string

    Returns string

Static convertFrameworkGeometry

  • convertFrameworkGeometry(geometry: any): GeometryObject
  • convertFrameworkGeometry(geometry: any): GeometryObject
  • Parameters

    • geometry: any

    Returns GeometryObject

  • Parameters

    • geometry: any

    Returns GeometryObject

Static convertLegacyGeometry

  • convertLegacyGeometry(geometry: any, doNotConvertToMercator?: boolean): any
  • convertLegacyGeometry(geometry: any, doNotConvertToMercator?: boolean): any
  • Parameters

    • geometry: any
    • Optional doNotConvertToMercator: boolean

    Returns any

  • Parameters

    • geometry: any
    • Optional doNotConvertToMercator: boolean

    Returns any

Static convertToLegacyQueryResult

  • Parameters

    Returns Promise<LegacyQueryResult>

  • Parameters

    • result: QueryResult

    Returns Promise<LegacyQueryResult>

Static createNewHighlightBucket

  • createNewHighlightBucket(): string
  • createNewHighlightBucket(): string
  • Returns string

  • Returns string

Static getCommand

  • getCommand(commandVerb: string): Command
  • getCommand(commandVerb: string): Command
  • Parameters

    • commandVerb: string

    Returns Command

  • Parameters

    • commandVerb: string

    Returns Command

Static getHighlightOptions

  • getHighlightOptions(color?: string, fillColor?: string): any
  • getHighlightOptions(color?: string, fillColor?: string): any
  • Parameters

    • Optional color: string
    • Optional fillColor: string

    Returns any

  • Parameters

    • Optional color: string
    • Optional fillColor: string

    Returns any

Static isTrue

  • isTrue(value: string | boolean): boolean
  • isTrue(value: string | boolean): boolean
  • Parameters

    • value: string | boolean

    Returns boolean

  • Parameters

    • value: string | boolean

    Returns boolean

Static registerCommandObject

  • registerCommandObject(commandVerb: string, cmd: Command): void
  • registerCommandObject(commandVerb: string, cmd: Command): void
  • Parameters

    Returns void

  • Parameters

    • commandVerb: string
    • cmd: Command

    Returns void

Static registerHighlight

  • registerHighlight(highlight: Disposable, bucketid: string): void
  • registerHighlight(highlight: Disposable, bucketid: string): void
  • Parameters

    Returns void

  • Parameters

    • highlight: Disposable
    • bucketid: string

    Returns void

Object literals

Static Private highlightBuckets

highlightBuckets: object

default

default: Disposable[] = <Disposable[]>[]