Class InfoWindow

MVC

Hierarchy

Index

Constructor methods

Methods

Constructor methods

constructor(opts?: InfoWindowOptions): InfoWindow

Parameters

Returns

InfoWindow

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 close()

public get(key: string): any

Parameters

  • key: string

Returns

any

public getContent(): any

Returns

any

public getPosition(): LatLng

Returns

LatLng

public getZIndex(): number

Returns

number

public notify(key: string)

Parameters

  • key: string

public open(map?: Map, anchor?: MVCObject)

Parameters

public open(map?: StreetViewPanorama, anchor?: MVCObject)

Parameters

public set(key: string, value: any)

Parameters

  • key: string
  • value: any

public setContent(content: Node)

Parameters

  • content: Node

public setContent(content: string)

Parameters

  • content: string

public setOptions(options: InfoWindowOptions)

Parameters

public setPosition(position: LatLng)

Parameters

public setValues(values: any)

Parameters

  • values: any

public setZIndex(zIndex: number)

Parameters

  • zIndex: number

public unbind(key: string)

Parameters

  • key: string

public unbindAll()