调用百度地图API隐藏右下角版权信息
商用的话建议不要隐藏,避免侵权。
隐藏前:

隐藏后:
.BMap_cpyCtrl { display: none; } .anchorBL { display: none; }

如果使用angular,需要强制修改。
:host ::ng-deep .BMap_cpyCtrl { display: none; } :host ::ng-deep .anchorBL { display: none; }
本文介绍如何在使用百度地图API时隐藏右下角的版权信息,提供了CSS代码实现,并针对使用Angular的情况给出了特定的解决方案。
商用的话建议不要隐藏,避免侵权。
隐藏前:

隐藏后:
.BMap_cpyCtrl { display: none; } .anchorBL { display: none; }

如果使用angular,需要强制修改。
:host ::ng-deep .BMap_cpyCtrl { display: none; } :host ::ng-deep .anchorBL { display: none; }
转载于:https://www.cnblogs.com/wjw1014/p/11319239.html
5074

被折叠的 条评论
为什么被折叠?