Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Baidu map support #64

Merged
merged 12 commits into from Nov 13, 2022
Merged

Add Baidu map support #64

merged 12 commits into from Nov 13, 2022

Conversation

X-Mars
Copy link
Contributor

@X-Mars X-Mars commented Oct 29, 2022

We can use Baidu map now.
The ak for test is wINcgFmL1HyM7gWoQ5uPu6Xt9szz3chV , I will delete it after merged.
The options for test is

option = {
        tooltip: {
          trigger: "item",
        },
        bmap: {
          // 地图展示的中心,即加载时首先出现在人眼前的点
          center: [104.114129, 37.550339], 
          // 当前地图缩放的大小,如果是一个省内的一些地方,那么zoom值应该设置得大点
          // 设置的初始值大小应根据要展示的数据而定
          zoom: 5, 
          roam: true, //允许缩放
          // 个性化地图
          mapStyleV2: {},
        },
      };
return option;

@X-Mars
Copy link
Contributor Author

X-Mars commented Oct 29, 2022

WX20221029-183253

@mikhail-vl mikhail-vl self-requested a review October 31, 2022 01:43
@mikhail-vl mikhail-vl self-assigned this Oct 31, 2022
@mikhail-vl mikhail-vl added the enhancement New feature or request label Oct 31, 2022
@mikhail-vl
Copy link
Member

@X-Mars Thank you, I will review it tomorrow and will include in the upcoming version.

@mikhail-vl mikhail-vl added this to the Version 3.6.0 milestone Nov 8, 2022
Copy link
Member

@mikhail-vl mikhail-vl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@mikhail-vl mikhail-vl merged commit e4a6e9e into VolkovLabs:main Nov 13, 2022
@mikhail-vl
Copy link
Member

mikhail-vl commented Nov 13, 2022

@X-Mars Thank you for contributing. I did some updates and merged into main.

I am finishing tutorial how to use Baidu maps and will release a new version later today.

@X-Mars
Copy link
Contributor Author

X-Mars commented Nov 14, 2022

@mikhail-vl This‘s good news, waiting for the new version. 👍🏻

@mikhail-vl
Copy link
Member

@X-Mars, it's ready https://github.com/VolkovLabs/volkovlabs-echarts-panel/releases/tag/v3.6.0.

Let us know if there is anything else.

@X-Mars
Copy link
Contributor Author

X-Mars commented Nov 15, 2022

@mikhail-vl Cannot find the latest version on the grafana.com

@mikhail-vl
Copy link
Member

@X-Mars It's still under review, there is no timeline when Grafana team approve it.

Meanwhile, you can download it directly from the GitHub and install using grafana-cli or replacing plugin in the plugins folder.

@X-Mars
Copy link
Contributor Author

X-Mars commented Nov 15, 2022

@mikhail-vl ok, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

None yet

3 participants