Learn R Programming

mapboxapi (version 0.6.2)

geocoder_as_xy: Convert the results of a mapboxGeocoderInput() geocoded location to XY coordinates

Description

Convert the results of a mapboxGeocoderInput() geocoded location to XY coordinates

Usage

geocoder_as_xy(input)

Value

A length-2 vector representing the geocoded longitude/latitude coordinates of the location.

Arguments

input

The name of the Shiny input using mapboxGeocoderInput(), likely something like input$geocode