Title: Geocoder for Leaflet Map
Last modified: November 28, 2019

---

# Geocoder for Leaflet Map

 *  [leawp](https://wordpress.org/support/users/leawp/)
 * (@leawp)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/geocoder-for-leaflet-map/)
 * Dear Team of Leaflet map, thanks for this marvelous plugin!
    I wonder if is posssible
   to implement a geocoder on the map, where the user can search a place (like on
   [https://www.openstreetmap.org/](https://www.openstreetmap.org/)) Obviously you
   have a geocoder integrated (nominatim) but so far it is not possible to search
   on a map. Or im I wrong? Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [bozdoz](https://wordpress.org/support/users/bozdoz/)
 * (@bozdoz)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/geocoder-for-leaflet-map/#post-12187028)
 * “So far” you are correct. Geocoding is done server-side. An option could be to
   create a json endpoint, and incorporate the PHP Leaflet_Geocoder class. I’m not
   sure what that would look like. Important part would be to cache the results 
   to the database.
 *  Thread Starter [leawp](https://wordpress.org/support/users/leawp/)
 * (@leawp)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/geocoder-for-leaflet-map/#post-12187985)
 * Hey bozdoz, thanks for the quick reply!
    While i read your plugins “readme” it
   is possible to add leaflet plugins. Might it be a solution to add the leaflet-
   control-geocoder ([https://github.com/perliedman/leaflet-control-geocoder](https://github.com/perliedman/leaflet-control-geocoder))
   as a quick solution (Demo here: [https://www.liedman.net/leaflet-control-geocoder/](https://www.liedman.net/leaflet-control-geocoder/))

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Geocoder for Leaflet Map’ is closed to new replies.

 * ![](https://ps.w.org/leaflet-map/assets/icon-256x256.png?rev=1693083)
 * [Leaflet Map](https://wordpress.org/plugins/leaflet-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-map/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-map/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [leawp](https://wordpress.org/support/users/leawp/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/geocoder-for-leaflet-map/#post-12187985)
 * Status: not resolved