Currently, the API for Kibana with maps is not available because its API starts to charge
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/84/77/wKioL1eRfDLD2laFAABmfhWFrzo676.png "title=" 1.png " alt= "Wkiol1erfdld2lafaabmfhwfrzo676.png"/> As shown above, now we change to use the API of the High de map.
Go to the src/ui/public/vislib/visualizations/directory under the installation directory
1. Edit the _map.js file
URL: ' https://otile{s}-s.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpeg ', url: ' http://webst0{s}.is.autonavi.com/ Appmaptile?lang=zh_cn&style=7&x={x}&y={y}&z={z} ',
Comment before//URL: 'https://otile{s}-s.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpeg ',
Add URL: ' Http://webst0{s}.is.autonavi.com/appmaptile?lang=zh_cn&style=7&x={x}&y={y}&z={z} ',
2. Delete the Optimize/bundles folder in the Kibana directory
3. Restart
The first boot time is slower because Kibana is compiled with Webpack to provide efficient and stable performance. Modify the source code after the need to compile to run, the above delete Optimize/bundles is to delete the results of the compilation, let Kibana recompile
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/84/79/wKioL1eRqduSB3nZAAMypBANKZ8469.png "title=" 2.png " alt= "Wkiol1erqdusb3nzaamypbankz8469.png"/>
This article is from "Maple Night" blog, please be sure to keep this source http://fengwan.blog.51cto.com/508652/1828746
Kibana changing the use of the Gao de map