openlocationcode v0.1.0 OpenLocationCode.CodeArea

A code area is a region on a map indicated by a lower-left corner---the southernmost latitude and the westernmost longitude. The size of the region is given by the resolution, which is the height and length of the region in degrees.

Link to this section Summary

Functions

Structure representing a code area

Returns the center point latitude

Returns the center point longitude

Returns the easternmost latitude of a code area

Returns the northernmost latitude of a code area

Link to this section Functions

Link to this function

%OpenLocationCode.CodeArea{} (struct)

Structure representing a code area.

Link to this function

center_latitude(ca)

Returns the center point latitude

Link to this function

center_longitude(ca)

Returns the center point longitude

Link to this function

east_longitude(code_area)

Returns the easternmost latitude of a code area

Link to this function

north_latitude(code_area)

Returns the northernmost latitude of a code area