Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CoordinateConversionViewModel

Hierarchy

Index

Properties

conversions

conversions: Collection<Conversion>

A Collection containing every Conversion that the widget is currently displaying.

Read more...

currentLocation

currentLocation: Point

Describes the location of the coordinates currently displayed by the widget as a Point.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

formats

formats: Collection<Format>

A Collection containing every Format that the widget is capable of displaying.

Read more...

goToOverride

goToOverride: GoToOverride

This function provides the ability to override either the IMapView goTo() or SceneView goTo() methods.

Read more...

initialized

initialized: boolean

locationSymbol

This symbol is used to visualize the location currently described by the widget when capture mode is active.

Read more...

mode

mode: "live" | "capture"

Describes the current mode of the widget.

Read more...

requestDelay

requestDelay: number

The number of milliseconds of delay before conversion requests will be sent to the GeometryService.

Read more...

Readonly state

state: "disabled" | "ready" | "loading"

The view model's state.

Read more...

storageEnabled

storageEnabled: boolean

If this property is set to true, sessionStorage will be used to hydrate and persist the CoordinateConversion widget's state within the same session.

Read more...

view

A reference to the MapView or SceneView.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns CoordinateConversionViewModel

convert

  • Attempt to convert a point into a Position.

    Read more...

    Parameters

    Returns Promise<Position>

destroy

  • destroy(): void
  • Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

reverseConvert

  • reverseConvert(coordinate: string, format: Format): Promise<Point>
  • Attempt to convert a string into a Point.

    Read more...

    Parameters

    • coordinate: string
    • format: Format

    Returns Promise<Point>

set

updateConversions

  • Update the input conversions based on the input point.

    Read more...

    Parameters

    Returns Promise<Conversion[]>

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc