geocoder_as_xy: Convert the results of a 'mapboxGeocoderInput()' geocoded...

View source: R/search.R

geocoder_as_xyR Documentation

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)

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.


mapboxapi documentation built on Sept. 21, 2024, 1:06 a.m.