Add Placename Location Search to React Leaflet with Esri Leaflet Geocoder

Share this video with your friends

Send Tweet

In this lesson, we'll use the Esri Leaflet Geocoder plugin to add placename search on a React Leaflet map. We'll walk through installing the plugin with yarn or npm, importing the geosearch function from the plugin, and using it to add a new search control to the map. Once added, we'll also set up an event handler to fire custom code with the results data whenever a search is made.

Esri Leaflet Geocoder