# Use maps inside plugin

**URL:** <https://discuss.elastic.co/t/use-maps-inside-plugin/343503>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [September 21, 2023, 5:39am UTC](https://discuss.elastic.co/t/use-maps-inside-plugin/343503 "2023-09-21T05:39:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [September 21, 2023, 2:17pm UTC](https://discuss.elastic.co/t/use-maps-inside-plugin/343503/4 "2023-09-21T14:17:32Z")

</div>

you will have to index your location field as [geo\_point](https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-point.html). Or you could create a geo point [runtime field](https://discuss.elastic.co/t/how-to-a-emit-a-value-for-a-runtime-field-of-type-geo-point/271889).

---

_[View the full topic](https://discuss.elastic.co/t/use-maps-inside-plugin/343503)._
