I want to emit fitToData() on map visualization every time the data is loaded.
Can some one point me where there is a callback function where map visualization have completed to load the initial data.
I guess it is somewhere in kibana_map.js
Hi, if you are working with the source in development, you'll most likely want to be in a feature branch based off the master branch, which is an unreleased alpha version. A 6.3 branch is also in the Git repo, but that branch might not have new services in the code that you'd want to use for your feature.
There are custom events fired when visualization rendering has started and when it is complete. You could add an event listener to the elements containing maps that listen for render completion and then fire some code in the event handler.
Look for how the renderStart and renderComplete custom events can be used, which are set up in src/ui/public/render_complete.
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.