Javascript 删除 Google Maps API Premier 使用条款/徽标/等。链接?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2553904/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-23 00:52:34  来源:igfitidea点击:

Removing the Google Maps API Premier Terms-of-Use/Logo/etc. links?

javascriptcssapigoogle-maps

提问by mayrs

is it legal to remove the logo/terms of use link displayed on my integrated google map (google maps premier)? The problem is that when I zoom into the map, the link tends to get longer and loger and overlays the whole website which is pretty ugly. Of course it is possible to give the div container a "overflow: hidden;" flag which helps a little. But it is still not satisfying.

删除我的集成谷歌地图(谷歌地图总理)上显示的徽标/使用条款链接是否合法?问题是,当我放大地图时,链接往往会变长并记录并覆盖整个网站,这非常难看。当然可以给 div 容器一个“溢出:隐藏;” 标志有点帮助。但它仍然不能令人满意。

Thx

谢谢

回答by Seidr

If you use the Google Maps service in any way, they request that you retain their branding. It is infact in the Terms of Service I believe, so techincally no it is not legal.

如果您以任何方式使用 Google 地图服务,他们会要求您保留他们的品牌。我相信这是服务条款中的事实,所以从技术上讲,它是不合法的。

9.4 Attribution Content provided to you through the Service may contain the trade names, trademarks, service marks, logos, domain names, and other distinctive brand features of Google, its partners, or other third party rights holders of content indexed by Google. You may not delete or in any manner alter these trade names, trademarks, service marks, logos, domain names, and other distinctive brand features.

9.4 归属通过服务提供给您的内容可能包含谷歌、其合作伙伴或谷歌索引的内容的其他第三方权利人的商号、商标、服务标记、徽标、域名和其他显着品牌特征。您不得删除或以任何方式更改这些商号、商标、服务标记、徽标、域名和其他独特的品牌特征。

Reference: http://code.google.com/apis/maps/terms.html

参考:http: //code.google.com/apis/maps/terms.html

While it is against the Terms of Service, this is however possible using CSS rules - however the below reference is using a GreaseMonkey script. It may be possible with an included Stylesheet.

虽然它违反了服务条款,但是使用 CSS 规则是可能的 - 但是下面的参考使用的是 GreaseMonkey 脚本。使用包含的样式表可能是可能的。

Reference: http://userstyles.org/styles/1929

参考:http: //userstyles.org/styles/1929

回答by Shawn Steward

You can remove it as long as you put the data next to the map on your page.

只要将数据放在页面上的地图旁边,就可以将其删除。

From Google's Permissions page:

从谷歌的权限页面:

http://www.google.com/permissions/geoguidelines.html

http://www.google.com/permissions/geoguidelines.html

All uses of Google Maps and Google Earth and Content MUST provide attribution to Google and our suppliers. In no circumstance do we approve of any use of Content without proper attribution. Requests for exceptions will not be answered.

Attribution is the line(s) shown on the bottom of the Content in the products along with copyright notices, such as "? 2009 Google, Map Data ? 2009 Tele Atlas." (The exact text of the attribution changes based on geography and Content type.) The attribution text must be legible to the average viewer or reader. The automatically-generated Google logo and attribution text may only be removed or obstructed if reintroduced in a visible form elsewhere within the Content. In print use, if for some reason attribution cannot be placed within the Content, separate attribution text must be provided directly adjacent to the Content. In video, attribution must appear on-screen for the entire duration the Content is displayed; we cannot approve requests to move attribution to end credits. Below is a demonstration on where to find attribution in Earth and Maps.

对 Google 地图、Google 地球和内容的所有使用都必须归属于 Google 和我们的供应商。在任何情况下,我们都不会批准在没有适当归属的情况下使用任何内容。例外请求将不会得到答复。

署名是显示在产品内容底部的行以及版权声明,例如“?2009 Google,地图数据?2009 Tele Atlas”。(署名的确切文本根据地理和内容类型而变化。)署名文本必须对普通观众或读者清晰易读。自动生成的 Google 徽标和归属文本只有在内容中的其他地方以可见形式重新引入时,才能被删除或阻止。在印刷品使用中,如果由于某种原因无法将署名放在内容中,则必须在内容旁边直接提供单独的署名文本。在视频中,属性必须在内容显示的整个持续时间内出现在屏幕上;我们无法批准将归因转移到结束信用的请求。

回答by Unuomo Qualunque

Without using any javascript or so, with pure CSS rules, there is a method to hide the google footer image and copyright from the map.

不使用任何 javascript 左右,使用纯 CSS 规则,有一种方法可以从地图中隐藏 google 页脚图像和版权。

Pay Attention, it's for research purpose only, because it's not Legal, these are the CSS rules:

注意,仅用于研究目的,因为它不合法,这些是 CSS 规则:

/*======= Map Styling ============*/
.gmnoprint a, .gmnoprint span {
    display:none;
}
.gmnoprint div {
    background:none !important;
}
#GMapsID div div a div img{
    display:none;
}

回答by Darin

By using Styled Maps by Google, the logo and terms of use link are by default small and unintrusive. I have experience using this in a mobile web app where a larger Google icon would hinder the use of the map, and it works like a charm.

通过使用 Google Styled Maps,徽标和使用条款链接默认很小且不引人注目。我有在移动网络应用程序中使用它的经验,其中较大的 Google 图标会阻碍地图的使用,它的作用就像一个魅力。

https://developers.google.com/maps/documentation/javascript/styling?csw=1

https://developers.google.com/maps/documentation/javascript/styling?csw=1

回答by Abhishek Goel

This CSS works like charm. Removes Google Logoas well as terms of use.

这个 CSS 就像魅力一样。删除Google 徽标以及使用条款

a[href^="http://maps.google.com/maps"]{display:none !important}

.gmnoprint a, .gmnoprint span {
    display:none;
}
.gmnoprint div {
    background:none !important;
}

回答by Behnam Mohammadi

simply code css for logo

简单地为徽标编码 css

img[src=http://maps.gstatic.com/mapfiles/api-3/images/google_white2.png]
{display:none}

回答by Peter Bailey

http://support.google.com/enterprise/doc/gme/terms/maps_purchase_agreement.html

http://support.google.com/enterprise/doc/gme/terms/maps_purchase_agreement.html

3.3 Linking to Maps Terms. If Customer is using a Javascript API or Maps API for Flash to receive the Content, a link to the Maps Terms is provided on the Content. If Customer is using a static Maps API to receive the Content, Customer will incorporate a link to the Maps Terms and the Legal Notices in a license agreement governing End Users' use of the Customer Implementation.

3.3 链接到地图条款。如果客户使用 Javascript API 或 Maps API for Flash 接收内容,则会在内容中提供指向地图条款的链接。如果客户使用静态地图 API 接收内容,则客户将在管理最终用户对客户实施的使用的许可协议中加入地图条款和法律声明的链接。