Could you please tell me if anyone of you have successfully implement leaflet lib and react-leaflet to kibana custom plugin? Also I'm not able to find good explanation on how to implement map in custom plugin? Which kibana plugin is usually used to implement maps, does anyone have a good example i can check and study through?
Thank you, Nathan!
I will try it today and see how will handle it. No actual reason to implement custom map, just I'm new in kibana and wanted to do it the hard way first to check how and with what it works, then to do it with the Kibana map plugin, also it was hard for me to find the documentation about development with kibana map plugin. I will check the repo!
Can you please tell me, why was desided not to use react-leaflet and leaflet for the development of Kibana maps plugin?
The Kibana Maps plugin leverages Maplibre for vector rendering. Leaflet is better suited for rendering raster images (WMS, raster tiles, etc.) while Mapbox GL (now Maplibre) is a better framework for rendering vector data; not only basemaps but also data coming from Elasticsearch, specially now that it supports vector tiles.
To add to @jsanz's answer, maplibre.js renders with webgl, which allows for displaying more points and polygons on screen with smoother zooming and scrolling.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.