Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GoogleMapViewport

Implements

Index

Constructors

constructor

  • new GoogleMapViewport(projection: null | MapCanvasProjection, geoFrame: GeoBox, geoCenter: GeoPoint, zoom: number, heading: number, tilt: number): GoogleMapViewport
  • Parameters

    • projection: null | MapCanvasProjection
    • geoFrame: GeoBox
    • geoCenter: GeoPoint
    • zoom: number
    • heading: number
    • tilt: number

    Returns GoogleMapViewport

Properties

Readonly geoCenter

geoCenter: GeoPoint

Readonly geoFrame

geoFrame: GeoBox

Readonly heading

heading: number

Readonly projection

projection: null | MapCanvasProjection

Readonly tilt

tilt: number

Readonly zoom

zoom: number

Methods

equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

project

  • Parameters

    Returns R2Point

  • Parameters

    • lng: number
    • lat: number

    Returns R2Point

unproject

  • Parameters

    Returns GeoPoint

  • Parameters

    • x: number
    • y: number

    Returns GeoPoint

Static create

  • create(map: Map, projection: undefined | null | MapCanvasProjection): GoogleMapViewport
  • Parameters

    • map: Map
    • projection: undefined | null | MapCanvasProjection

    Returns GoogleMapViewport

Generated using TypeDoc