我正在使用jQuery Geo完备库。
我所做的是-
$(function()
{
$("#find_product_location").geocomplete(
{
map : "#product_location",
mapOptions :
{
mapTypeId : 'roadmap', //roadmap, satellite,hybrid, terrain,
scrollwheel : true,
zoom: 10,
center : new google.maps.LatLng(37.42152681633113, -119.27327880000001),
},
markerOptions:
{
draggable: true
},
});
//var product_location_map = $("#find_product_location").geocomplete("map"); //Get the map for any more operation
});#product_location
{
width: 100%;
height: 400px;
}<script src="http://maps.googleapis.com/maps/api/js?sensor=true&libraries=places"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/geocomplete/1.7.0/jquery.geocomplete.min.js"></script>
<input id="find_product_location" type="text" placeholder="Type Your Address"/>
<div id="product_location"></div>
但我得到了一个小的谷歌签名图标

有什么办法把它去掉吗?
发布于 2016-05-22 10:48:26
来自https://github.com/ubilabs/geocomplete/issues/214
如果您还显示了Google,隐藏徽标是可以的: 要求 您可以使用CSS隐藏它: ..pac容器:在{ /*免责声明之后:不需要显示“由谷歌供电”,如果也显示了Google */背景-图像:无!重要;高度: 0px;}
https://stackoverflow.com/questions/37373250
复制相似问题