自定义样式不适用于某些区域 [英] Custom Styles not Applying at certain areas

查看:109
本文介绍了自定义样式不适用于某些区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用Google Map API。我已将自定义样式应用于地图。自定义样式似乎在除韩国以外的所有地方都适用。
当缩放级别设置为6时,自定义样式可以完美地应用。

I have been working with google map api. I have applied custom styles to the map. The custom styles seems to work at all the place except in south korean regions. When The zoom level is set to 6 the custom styles applies perfectly.

自定义样式有效的屏幕截图 http://prntscr.com/oj8537

Screenshot where custom style is working http://prntscr.com/oj8537

但是当我进一步放大自定义样式时,

But when I zoom in little further the custom styles does not work.

自定义样式不起作用的屏幕截图 http:/ /prntscr.com/oj85iz

Screenshot where custom style is not working http://prntscr.com/oj85iz

将缩放比例设置为7以上时,它将停止工作。
谁能帮助我应用我的自定义样式。我在做错什么事了吗?

When zoom is set over 7 then it stop working. Can anyone help me applying my custom style. Am I doing something wrong

推荐答案

这是Google的问题跟踪器中报告的一个已知问题。显然,韩国的地图图块是预先渲染的,因此无法设置样式。

This is a known issue that was reported in Google's Issue Tracker. Apparently map tiles in South Korea are pre-rendered and hence cannot be styled.

您可以在此处查看并标记问题以获取更新: https://issuetracker.google.com/35820206

You can view and star the issue to get updates on it here: https://issuetracker.google.com/35820206

也请参阅相关问题: Google Maps样式不适用于韩国地区

这篇关于自定义样式不适用于某些区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆