Bindings for the Leaflet JavaScript library
Module Leaflet . Latlng
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