Class LatLng

Base

Index

Constructor methods

Methods

Constructor methods

constructor(lat: number, lng: number, noWrap?: boolean): LatLng

Parameters

  • lat: number
  • lng: number
  • noWrap?: boolean optional

Returns

LatLng

Methods

public equals(other: LatLng): boolean

Parameters

Returns

boolean

public lat(): number

Returns

number

public lng(): number

Returns

number

public toString(): string

Returns

string

public toUrlValue(precision?: number): string

Parameters

  • precision?: number optional

Returns

string