# Using Leaflet with Elasticsearch

**URL:** <https://discuss.elastic.co/t/using-leaflet-with-elasticsearch/252433>\
**Category:** Elasticsearch\
**Created:** [October 17, 2020, 9:57pm UTC](https://discuss.elastic.co/t/using-leaflet-with-elasticsearch/252433 "2020-10-17T21:57:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![morescratch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/morescratch/32/77388_2.png) [@morescratch](https://discuss.elastic.co/u/morescratch)\
**Post date:** [October 17, 2020, 9:57pm UTC](https://discuss.elastic.co/t/using-leaflet-with-elasticsearch/252433/1 "2020-10-17T21:57:25Z")

</div>

Hi all, I’ve been looking for examples on how to use Elasticsearch as a data source for a Leaflet map. I understand that Kibana uses leaflet so I am hoping there some code snippets out there that I can reuse. Anyone know of any resources that I can look at?

---

<div class="post-metadata">

**Author:** ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Post date:** [October 17, 2020, 10:18pm UTC](https://discuss.elastic.co/t/using-leaflet-with-elasticsearch/252433/2 "2020-10-17T22:18:49Z")

</div>

> [@Leaflet & Kibana](https://discuss.elastic.co/t/leaflet-kibana/116343):
>
> Hi, I am implementing my own map using OpenStreetMap locally, and Leaflet. I heard that Kibana is using Leaflet to visualize the map. I just have some questions : 1- how does Kibana uses Leaflet exactly? 2- how can I integrate my own version of OpenStreetMap in Kibana? where can I find the mapping for OSM tags?

---

<div class="post-metadata">

**Author:** ![morescratch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/morescratch/32/77388_2.png) [@morescratch](https://discuss.elastic.co/u/morescratch)\
**Post date:** [October 19, 2020, 1:20am UTC](https://discuss.elastic.co/t/using-leaflet-with-elasticsearch/252433/3 "2020-10-19T01:20:22Z")

</div>

Thanks, but I looked at that. From what I can tell it's only dealing with point feature types. I need something for all feature types.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 16, 2020, 1:20am UTC](https://discuss.elastic.co/t/using-leaflet-with-elasticsearch/252433/4 "2020-11-16T01:20:24Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
