Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Add Placename Location Search to React Leaflet with Esri Leaflet Geocoder


    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