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

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

问题描述

我一直在使用 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

另见相关问题:谷歌地图风格确实如此不适用于韩国地区

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

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