Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TrackViewModel

Hierarchy

Index

Properties

declaredClass

declaredClass: string

destroyed

destroyed: boolean

geolocationOptions

geolocationOptions: any

The HTML5 Geolocation Position options for locating.

Read more...

goToLocationEnabled

goToLocationEnabled: boolean

Indicates whether to navigate the view to the position and scale of the geolocated result.

Read more...

goToOverride

goToOverride: GoToOverride

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

Read more...

graphic

graphic: Graphic

The graphic used to show the user's location on the map.

Read more...

initialized

initialized: boolean

scale

scale: number

The scale to set on the view when navigating to the position of the geolocated result.

Read more...

Readonly state

state: "disabled" | "ready" | "tracking" | "waiting"

The current state of the widget.

Read more...

Readonly tracking

tracking: boolean

Indicates whether new positions are being watched.

Read more...

view

The view associated with the widget.

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 TrackViewModel

destroy

  • destroy(): void
  • Returns void

emit

  • emit(type: string, event?: any): boolean
  • Emits an event on the instance.

    Read more...

    Parameters

    • type: string
    • Optional event: any

    Returns boolean

get

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

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

hasEventListener

  • hasEventListener(type: string): boolean
  • Indicates whether there is an event listener on the instance that matches the provided event name.

    Read more...

    Parameters

    • type: string

    Returns boolean

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

on

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns TrackViewModel

  • Parameters

    Returns TrackViewModel

start

  • start(): void
  • When executed, tracking starts at the user's location.

    Read more...

    Returns void

stop

  • stop(): void
  • Stops tracking the user's location when executed.

    Read more...

    Returns void

watch

  • Parameters

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

    Returns WatchHandle

Generated using TypeDoc