Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

context

context: any

props

props: Readonly<object> & Readonly<ViewerApiShimProps>

refs

refs: object

Type declaration

  • [key: string]: ReactInstance

state

state: Readonly<any>

Accessors

mapInit

  • get mapInit(): boolean
  • Indicates if the map frame is ready

    Although this not part of the "public" API, most AJAX viewer examples test for this flag anyways, so we might as well emulate it here

    Returns boolean

Methods

ClearSelection

  • ClearSelection(): void
  • Returns void

DigitizeCircle

  • DigitizeCircle(handler: function): void

DigitizeLine

  • DigitizeLine(handler: function): void

DigitizeLineString

  • DigitizeLineString(handler: function): void

DigitizePoint

  • DigitizePoint(handler: function): void

DigitizePolygon

  • DigitizePolygon(handler: function): void

DigitizeRectangle

  • DigitizeRectangle(handler: function): void

ExecuteMapAction

  • ExecuteMapAction(code: AjaxViewerMapActionCode.PanMode | AjaxViewerMapActionCode.PanUp | AjaxViewerMapActionCode.PanDown | AjaxViewerMapActionCode.PanRight | AjaxViewerMapActionCode.PanLeft | AjaxViewerMapActionCode.ZoomMode | AjaxViewerMapActionCode.ZoomIn | AjaxViewerMapActionCode.ZoomOut | AjaxViewerMapActionCode.ZoomRect | AjaxViewerMapActionCode.ZoomSelection | AjaxViewerMapActionCode.ZoomExtents | AjaxViewerMapActionCode.PrevView | AjaxViewerMapActionCode.NextView | AjaxViewerMapActionCode.InitialView | AjaxViewerMapActionCode.SelectionMode | AjaxViewerMapActionCode.SelectRadius | AjaxViewerMapActionCode.SelectPolygon | AjaxViewerMapActionCode.ClearSelection | AjaxViewerMapActionCode.RefreshMap | AjaxViewerMapActionCode.CopyMap | AjaxViewerMapActionCode.About): void
  • Parameters

    • code: AjaxViewerMapActionCode.PanMode | AjaxViewerMapActionCode.PanUp | AjaxViewerMapActionCode.PanDown | AjaxViewerMapActionCode.PanRight | AjaxViewerMapActionCode.PanLeft | AjaxViewerMapActionCode.ZoomMode | AjaxViewerMapActionCode.ZoomIn | AjaxViewerMapActionCode.ZoomOut | AjaxViewerMapActionCode.ZoomRect | AjaxViewerMapActionCode.ZoomSelection | AjaxViewerMapActionCode.ZoomExtents | AjaxViewerMapActionCode.PrevView | AjaxViewerMapActionCode.NextView | AjaxViewerMapActionCode.InitialView | AjaxViewerMapActionCode.SelectionMode | AjaxViewerMapActionCode.SelectRadius | AjaxViewerMapActionCode.SelectPolygon | AjaxViewerMapActionCode.ClearSelection | AjaxViewerMapActionCode.RefreshMap | AjaxViewerMapActionCode.CopyMap | AjaxViewerMapActionCode.About

    Returns void

GetCenter

GetLayers

  • Parameters

    • onlyVisible: boolean
    • onlySelectable: boolean

    Returns IAjaxViewerLayer[]

GetMapHeight

  • GetMapHeight(): number
  • Returns number

GetMapName

  • GetMapName(): string | undefined
  • Returns string | undefined

GetMapUnitsType

  • GetMapUnitsType(): string
  • Returns string

GetMapWidth

  • GetMapWidth(): string
  • Returns string

GetMetersPerUnit

  • GetMetersPerUnit(): number | null
  • Returns number | null

GetScale

  • GetScale(): number | null
  • Returns number | null

GetSelectedBounds

GetSelectedCount

  • GetSelectedCount(): number
  • Returns number

GetSelectedFeatures

GetSelectedLayers

GetSelectionXML

  • GetSelectionXML(): string
  • Returns string

GetSessionId

  • GetSessionId(): string | undefined
  • Returns string | undefined

IsDigitizing

  • IsDigitizing(): boolean
  • Returns boolean

IsEnglishUnits

  • IsEnglishUnits(): boolean
  • Returns boolean

IsLatLongDisplayUnits

  • IsLatLongDisplayUnits(): boolean
  • Returns boolean

MapUnitsToLatLon

Refresh

  • Refresh(): void
  • Returns void

ScreenToMapUnits

SetEnglishUnits

  • SetEnglishUnits(usEnglish: boolean): void
  • Parameters

    • usEnglish: boolean

    Returns void

SetLatLongDisplayUnits

  • SetLatLongDisplayUnits(latLon: boolean): void
  • Parameters

    • latLon: boolean

    Returns void

SetSelectionXML

  • SetSelectionXML(xmlSet: string): void
  • Parameters

    • xmlSet: string

    Returns void

Submit

  • Submit(url: string, params: string[], frameTarget: string): void
  • Parameters

    • url: string
    • params: string[]
    • frameTarget: string

    Returns void

ZoomToScale

  • ZoomToScale(scale: number): void
  • Parameters

    • scale: number

    Returns void

ZoomToView

  • ZoomToView(x: number, y: number, scale: number, refresh: boolean): void
  • Parameters

    • x: number
    • y: number
    • scale: number
    • refresh: boolean

    Returns void

componentDidMount

  • componentDidMount(): void
  • Returns void

componentWillReceiveProps

deregisterForEvent

  • deregisterForEvent(eventID: number, callback: Function): void
  • Parameters

    • eventID: number
    • callback: Function

    Returns void

forceUpdate

  • forceUpdate(callBack?: undefined | function): void
  • Parameters

    • Optional callBack: undefined | function

    Returns void

getClient

  • getClient(): Client | undefined

getFusionAPI

  • getFusionAPI(): any
  • Returns any

goHome

  • goHome(): void
  • Returns void

registerForEvent

  • registerForEvent(eventID: number, callback: Function): void
  • Parameters

    • eventID: number
    • callback: Function

    Returns void

render

  • render(): Element
  • Returns Element

setState

  • setState<K>(f: function, callback?: undefined | function): void
  • setState<K>(state: Pick<any, K>, callback?: undefined | function): void
  • Type parameters

    • K: keyof S

    Parameters

    • f: function
    • Optional callback: undefined | function

    Returns void

  • Type parameters

    • K: keyof S

    Parameters

    • state: Pick<any, K>
    • Optional callback: undefined | function

    Returns void

triggerFusionEvent

  • triggerFusionEvent(eventID: number, ...args: any[]): void
  • Parameters

    • eventID: number
    • Rest ...args: any[]

    Returns void

Static Optional componentDidMount

  • componentDidMount(): void
  • Returns void

Static Optional componentDidUpdate

  • componentDidUpdate(prevProps: Readonly<ViewerApiShimProps>, prevState: Readonly<any>, prevContext: any): void
  • Parameters

    Returns void

Static Optional componentWillMount

  • componentWillMount(): void
  • Returns void

Static Optional componentWillReceiveProps

  • componentWillReceiveProps(nextProps: Readonly<ViewerApiShimProps>, nextContext: any): void

Static Optional componentWillUnmount

  • componentWillUnmount(): void
  • Returns void

Static Optional componentWillUpdate

  • componentWillUpdate(nextProps: Readonly<ViewerApiShimProps>, nextState: Readonly<any>, nextContext: any): void
  • Parameters

    Returns void

Static Optional shouldComponentUpdate

  • shouldComponentUpdate(nextProps: Readonly<ViewerApiShimProps>, nextState: Readonly<any>, nextContext: any): boolean
  • Parameters

    Returns boolean

Generated using TypeDoc