Learn R Programming

rmapzen (version 0.4.0)

mz_location: Create/extract lat/lon location information

Description

mz_location constructs a new mz_location object, which can be used with functions such as mz_isochrone or mz_reverse_geocode. as.mz_location coerces eligible objects to mz_locations.

Usage

mz_location(lat, lon)

as.mz_location(x, ...)

# S3 method for default as.mz_location(x, ...)

# S3 method for mz_geocode_result as.mz_location(x, ...)

Arguments

lat

Latitude

lon

Longitude

x

An object that has location information

...

Not currently used

See Also

mz_isochrone For using the Mapzen isochrone service mz_contours, mz_costing, and mz_costing_options for other argument constructors