我可以将 Google 徽标覆盖在地图上或将其移至右上角吗?
我想知道是否可以在地图上的 Google 徽标上放置一个覆盖元素,或者将其位置更改为右上角。我有一张示例图片(链接如下),是我制作的覆盖 Google 徽标的图片。请帮忙给出一些解决这个问题的方法!谢谢!
示例图片:叠加 Google 地图徽标
I am wondering if I could put an overlay element over Google logo on map, or change its place to top right. I have an example picture( link is below ) that I made overlaying Google logo. Please help to give some solutions with this issue! Thanks!
Example image: Overlaying google map logo
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您可以使用 CSS 轻松移动徽标(或删除它) - 它是绝对定位的。如果您使用 Firebug 检查地图,您可以找到徽标 div 的 id。
我不建议这样做,因为这会违反服务条款(第 9.4 节)
You could move the logo (or remove it) quite easily with CSS - it's positioned absolutely. If you examine the map with Firebug, you can find the id of the logo div.
I wouldn't advise doing this, since it will break the Terms of Service (section 9.4)
根据我使用 Google 地图的经验,您无法执行任何操作来覆盖徽标或版权字符串。你不应该这样做,它的存在是有原因的——你应该对你使用的其他人制作的东西给予认可。
我看到的唯一“解决方案”是在地图容器外部放置一个覆盖图片,并将其绝对放置在 Google 徽标上方。但我讨厌这种想法,因为它出现在我的脑海中:)
我认为你应该更改地图叠加层的设计,以便徽标适合。
In my experience using Google maps there is nothing you can do to overlay the logo or the copyright string. And you shouldn't, it's there for a reason - you should give credit for the things you use that have been made by other people.
The only "solution" that I see is to place an overlay picture that is outside your map container and position it absolutely over the Google logo. But I hated this thought the instance it occured in my mind :)
I think you should change the design of your map overlays so that the logo will fit in.
您确实希望 Google 徽标和属性在您的图片中可见。
但是,完全可以移动徽标,甚至将属性作为图像下方的标题提供。请参阅此处:https://www.google.com/permissions/geoguidelines/attr-指南/
You do want the Google logo and attribution to be visible in your image.
However, it is completely OKAY to move the logo around, or even provide the attribution as a caption right under the image. See here: https://www.google.com/permissions/geoguidelines/attr-guide/
从标准地图 API 中删除 Google 徽标违反了服务条款。
不过,还有一个适用于企业的 Google 地图 API,它为您提供了更大的灵活性。标准价格为 10,000 美元/年。如果您向他们询问此事,Google 的代表将会给您打电话。您可以向代表询问付费客户的徽标的合法性到底是什么。
http://www.google.com/enterprise/earthmaps/maps.html
Removing the Google logo from standard maps API breaks the Terms of Service.
There is however a Google maps API for business, which gives you much more flexibility. The standard price is $10,000/year. If you enquire to them about it, a representative from Google will call you. You can ask the representative exactly what the legalities surrounding the logo for paying customers is.
http://www.google.com/enterprise/earthmaps/maps.html
正如 Chris B. 所提到的,徽标可以使用 CSS 移动。下面是一个使用 javascript iso 外部 ccs 文件的示例:
As mentioned by Chris B. the logo can be move using CSS. Here is an example that uses javascript iso an external ccs file: