package topojson

  1. Overview
  2. Docs

Module Geometry.PositionSource

Sourcetype t = float array

A position - a longitude and latitude with an optional altitude

Sourceval lng : t -> float

The longitude value of the position

Sourceval lat : t -> float

The latitude value of the position

Sourceval altitude : t -> float option

Optional altitude/elevation value of the position

Sourceval equal : t -> t -> bool

Whether two positions are equal by comparing each value

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

A position constructor

OCaml

Innovation. Community. Security.