echarts 百度Map 主题样式在线上环境没有生效

crcmnpdw  于 2022-11-03  发布在  Echarts
关注(0)|答案(3)|浏览(222)

Version

4.2.1

Steps to reproduce

本地开发时,Map样式是生效的。但是,项目上线后,Map样式没有生效。

What is expected?

如图,深色Map主题背景。
https://bj.bcebos.com/listen//2902a8cd9bf7e10c26aad9a2160d54551cc51614045509.jpg
https://bj.bcebos.com/listen//6940a8cd9bf7e10c26aad9a2160d54551cc51614045509.jpg

What is actually happening?

如图,浅色Map主题背景。
https://bj.bcebos.com/listen//1722a8cd9bf7e10c26aad9a2160d54551cc51614045509.jpg
https://bj.bcebos.com/listen//3492a8cd9bf7e10c26aad9a2160d54551cc51614045509.jpg

本地开发时,Map样式是生效的。但是,项目上线后,Map样式没有生效。 经过检查分析,发现,两个环境下network中的请求路径不一样,并且返回的瓦片也不一样。 深色Map主题背景是我们的期望结果。 通过本地与线上的图对比,发现,请求方式明显不一致。返回的瓦片也不一样。

ugmeyewa

ugmeyewa1#

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 thatyou have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org . Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list .

Have a nice day! 🍵

lnlaulya

lnlaulya2#

@EclipseJeeOxygen It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

Baidu map theme style does not take effect in the online environment

BODY

Version

4.2.1

steps to reproduce

When developing local, the map style is effective.However, after the project is online, the map style has not taken effect.

What is expected?

Figure, dark map theme background.
Https://bj.bcebos.com/listen/2902a8cd9bf7e10c26aad9a2160d54551cc51614045509.jpg
https://bj.bcebos.com/listen/6940a8cd9bf7e10c26aad9a2160d54551cc51614045509.jpg

What is actually happens?

Figure, light map theme background.
Https://bj.bcebos.com/listen/1722a8cd9bf7e10c26aad9a2160d54551cc51614045509.jpg
Https://bj.bcebos.com/listen/3492a8cd9bf7e10c26aad9a2160d54551cc51614045509.jpg

When developing local, the map style is effective.However, after the project is online, the map style has not taken effect.After inspection and analysis, discovery, the request path in NetWork in both environments is different, and the returned tiles are different.Dark Map Theme background is our expectation result.By comparing the local and online graph, discovery, the request method is significantly inconsistent.The returned tile is different.

相关问题