Class MapCanvasProjection

MVC

Hierarchy

Index

Constructor methods

Methods

Constructor methods

constructor(): MVCObject

Returns

MVCObject

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 fromContainerPixelToLatLng(pixel: Point, nowrap?: boolean): LatLng

Parameters

  • pixel: Point
  • nowrap?: boolean optional

Returns

LatLng

public fromDivPixelToLatLng(pixel: Point, nowrap?: boolean): LatLng

Parameters

  • pixel: Point
  • nowrap?: boolean optional

Returns

LatLng

public fromLatLngToContainerPixel(latLng: LatLng): Point

Parameters

Returns

Point

public fromLatLngToDivPixel(latLng: LatLng): Point

Parameters

Returns

Point

public get(key: string): any

Parameters

  • key: string

Returns

any

public getWorldWidth(): number

Returns

number

public notify(key: string)

Parameters

  • key: string

public set(key: string, value: any)

Parameters

  • key: string
  • value: any

public setValues(values: any)

Parameters

  • values: any

public unbind(key: string)

Parameters

  • key: string

public unbindAll()