Sensor Network: IoT World for the Future
Sensor Network: IoT World for the Future

Grafana Worldmapの地図をSatellite Viewに変更

Grafana Worldmapは、Iotのノードを表示するには使いにくいため、MapをGoogle Satellite Viewに変更する方法のメモ。

以下に同様の要望があり、

https://github.com/grafana/worldmap-panel/issues/24

改造版がVer. 0.3.0-dev7 として、フォークされている。

https://github.com/ammpio/worldmap-panel

 

インストール

$ grafana-cli –pluginUrl https://github.com/ammpio/worldmap-panel/archive/master.zip plugins install grafana-worldmap-panel

で現在のバージョンを上書き

$ service grafana-server restart

でGrafana再起動

grafana-cliコマンドの使い方はこちら

※Buildパッケージでは、map のズームレベルが18倍のままなので、ビルドするか、

/var/lib/grafana/plugins/grafana-worldmap-panel/dist

のmodule.js, module.js.map のmaxZoomの値を18→20に変更

 

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.