Incubator-echarts: bmap中使用styleJson进行自定义地图样式,地图无法正常显示

Created on 29 May 2019  ·  10Comments  ·  Source: apache/incubator-echarts

Version

4.2.1

Steps to reproduce

bmap: {
mapStyle: {
styleJson: [...]
}
}

What is expected?

产生自定义主题的地图

What is actually happening?

地图消失,无法正常显示


删除styleJson选项则可以正常显示默认样式地图

bug missing-demo pending

Most helpful comment

请问这个问题解决了吗 我也有这样的问题

All 10 comments

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

Have a nice day! 🍵

请提供可复现的例子。另外,我没有在文档中找到 styleJson 相关的,请问是在哪里看到的?

请问这个问题解决了吗 我也有这样的问题

我也是这个问题

@tkamkb @afetmin 可以提供一个例子吗?

@Ovilia 你可以到 百度地图开放平台

https://echarts.apache.org/examples/en/index.html#chart-type-map 这几个例子都是可以的

https://echarts.apache.org/examples/en/index.html#chart-type-map 这几个例子都是可以的

我这边是没有发送referrer造成的,导致getscript代码中获取地图片段失败

https://echarts.apache.org/examples/en/index.html#chart-type-map 这几个例子都是可以的

我这边是没有发送referrer造成的,导致getscript代码中获取地图片段失败

使用IONIC打包App也是因为没有Referer导致跳转到error.html,请问现在有解决方案吗?

https://echarts.apache.org/examples/en/index.html#chart-type-map 这几个例子都是可以的

我这边是没有发送referrer造成的,导致getscript代码中获取地图片段失败

使用IONIC打包App也是因为没有Referer导致跳转到error.html,请问现在有解决方案吗?
我这边是网页,直接取消屏蔽referrer。你这种情况我不太清楚,或许可以尝试伪造referrer或者使用服务端AK

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arssam picture arssam  ·  3Comments

akvaliya picture akvaliya  ·  3Comments

Thinkpad93 picture Thinkpad93  ·  3Comments

yj20060714 picture yj20060714  ·  3Comments

jarben picture jarben  ·  3Comments