我可以从Google地图(v3)中删除网格线吗? [英] Can I remove grid lines from Google Map (v3)?

查看:663
本文介绍了我可以从Google地图(v3)中删除网格线吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一张地图,我通过Google Maps v3 API风格地图向导以JSON风格定制,但没有编辑网格线的选项 - 它们有点尴尬,没有太多用途,但我无法确定哪个参数控制着它们。



这与打印地图无关,就像关于该主题的其他问题似乎一样。



编辑从geocodezip示例中添加的图片(请参阅对问题的评论):

这是来自我的地图,他们更明显,并将图片分解成一些任意网格:

h2_lin>解决方案

这些网格线是瓦片边界。他们是一个CSS或浏览器问题的结果。没有什么可以使用API​​来处理它们的。


I have a map which I've customised with a JSON style through the Google Maps v3 API Styled Maps Wizard, but there was no option to edit grid lines - they're a little awkward and don't serve much purpose, but I can't work out which parameter controls them.

This isn't related to printing the map, like other questions on the topic seem to be.

EDIT Picture added from geocodezip's example (see comment on question):

This is from my map, where they're more obvious and break up the picture into some arbitrary grid:

解决方案

Those "grid lines" are the tile boundaries. They are the result of a css or a browser problem. Nothing you can do about them with the API.

这篇关于我可以从Google地图(v3)中删除网格线吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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