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.


walkerke/mapboxapi documentation built on May 16, 2024, 12:11 a.m.