Skip to contents

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

Usage

geocoder_as_xy(input)

Arguments

input

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

Value

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