Class DirectionsRenderer

MVC

Hierarchy

Index

Constructor methods

Methods

Constructor methods

constructor(opts?: DirectionsRendererOptions): DirectionsRenderer

Parameters

Returns

DirectionsRenderer

Methods

public addListener(eventName: string, handler: (...args: any[]) => void): MapsEventListener

Parameters

  • eventName: string
  • handler: (...args: any[]) => void

Returns

MapsEventListener

public bindTo(key: string, target: MVCObject, targetKey?: string, noNotify?: boolean)

Parameters

  • key: string
  • target: MVCObject
  • targetKey?: string optional
  • noNotify?: boolean optional

public changed(key: string)

Parameters

  • key: string

public get(key: string): any

Parameters

  • key: string

Returns

any

public getDirections(): DirectionsResult

Returns

DirectionsResult

public getMap(): Map

Returns

Map

public getPanel(): Element

Returns

Element

public getRouteIndex(): number

Returns

number

public notify(key: string)

Parameters

  • key: string

public set(key: string, value: any)

Parameters

  • key: string
  • value: any

public setDirections(directions: DirectionsResult)

Parameters

public setMap(map: Map)

Parameters

public setOptions(options: DirectionsRendererOptions)

Parameters

public setPanel(panel: Element)

Parameters

  • panel: Element

public setRouteIndex(routeIndex: number)

Parameters

  • routeIndex: number

public setValues(values: any)

Parameters

  • values: any

public unbind(key: string)

Parameters

  • key: string

public unbindAll()