Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 417 Bytes

LatLng.md

File metadata and controls

26 lines (19 loc) · 417 Bytes

LatLng

Types

t

This type needs to be created, as well as consumed. When the type is returned, individual keys may be accessed using the ## accessor.

type t = {
  .
  "latitude": float,
  "longitude": float,
};
create: (~latitude: float, ~longitude: float) => t

weighted

weighted: (~latitude: float, ~longitude: float, ~weight: float=?, unit) => t