package topojsone

  1. Overview
  2. Docs
type t = float array

A position - a longitude and latitude with an optional altitude

val lng : t -> float

The longitude value of the position

val lat : t -> float

The latitude value of the position

val altitude : t -> float option

Optional altitude/elevation value of the position

val equal : t -> t -> bool

Whether two positions are equal by comparing each value

val v : ?altitude:float -> lng:float -> lat:float -> unit -> t

A position constructor

OCaml

Innovation. Community. Security.