mz_location: Create/extract lat/lon location information

View source: R/matrix-helpers.R

mz_locationR Documentation

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, ...)

## Default S3 method:
as.mz_location(x, ...)

## S3 method for class '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


rmapzen documentation built on Oct. 17, 2023, 5:06 p.m.