package leaflet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val create : float -> float -> t

create lat lng is an object representing a geographical point with the given latitude and longitude

val lat : t -> float

lat o is the latitude of o

val lng : t -> float

lng o is the longitude of o

val equals : t -> t -> bool

equals a b is true iff a and b is at the same position (within a small margin of error)

val of_jv : Jv.t -> t

of_jv jv is jv as a Latlng.t

val to_jv : t -> Jv.t

to_jv o is o as a Jv.t