Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LeafletViewport

Implements

Index

Constructors

constructor

  • Parameters

    • map: Map
    • geoFrame: GeoBox
    • geoCenter: GeoPoint
    • viewOrigin: R2Point
    • zoom: number
    • heading: number
    • tilt: number

    Returns LeafletViewport

Properties

Readonly geoCenter

geoCenter: GeoPoint

Readonly geoFrame

geoFrame: GeoBox

Readonly heading

heading: number

Readonly map

map: Map

Readonly tilt

tilt: number

Readonly viewOrigin

viewOrigin: R2Point

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

  • Parameters

    • map: Map

    Returns LeafletViewport

Generated using TypeDoc