This html widget is built embed the following on leaflet maps in your shinyapp:
- State of the art leaflet-geocoder by Mapzen using Pelias package, see example here
- Leaflet Control Search
Github version can be installed by running the following:
if (!require('devtools')) install.packages('devtools')
devtools::install_github('mubashirqasim/leafletGeocoderRshiny')library(leaflet)
library(leafletGeocoderRshiny)
leaflet(data = quakes) %>%
  addTiles() %>%
  leafletMapSearch()library(leaflet)
library(leafletGeocoderRshiny)
leaflet(data = quakes) %>%
  addTiles() %>%
  addCircleMarkers(~long, ~lat, popup = ~as.character(mag),
             group = 'marker', label = ~as.character(mag)) %>%
  addDataSearchMarker('marker', position = 'topleft', propertyName = 'popup')This package is licensed to you under the terms of the GNU General Public License version 3 or later.

