Latitude generator

Generates a random latitude.

location.latitude

Generator settings

Generate data to see results here.

Parameters & Example

Generates a random latitude.

location.latitude(options?: { max?, min?, precision? })
options
An options object.
options.max
The upper bound for the latitude to generate. Defaults to 90.
options.min
The lower bound for the latitude to generate. Defaults to -90.
options.precision
The number of decimal points of precision for the latitude. Defaults to 4.

Example

30.2446

Use synthetic data in a test environment.

Related generators

Explore scenarios