mz_location: Create/extract lat/lon location information

Description Usage Arguments See Also

View source: R/matrix-helpers.R

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

1
2
3
4
5
6
7
8
9
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


tarakc02/rmapzen documentation built on Oct. 8, 2018, 12:20 a.m.