The method of using CSS overlay is OK, but the official is not allowed to do so, reference: http://developer.baidu.com/map/question.htm
Copy Code code as follows:
<! DOCTYPE html>
<meta charset= "Utf-8"/>
<title>javascript Removal Baidu Map logo and copyright information </title>
<script type= "Text/javascript" src= "//jquery.js" ></script>
< Script src= "http://api.map.baidu.com/api?v=1.3" type= "Text/javascript" ></script>
<script type= " Text/javascript ">
Function Initialize () {
var MP = new Bmap.map (' Map ');
Mp.centerandzoom (New Bmap.point (121.491, 31.233), 11);
}
Window.onload = Initialize;
</script>=
<style type= "Text/css" >
. anchorbl{
Display:none;
}
</style>
<body>
<input type= "button" onclick= "$ (' #map div . Anchorbl '). Hide (); "Value=" Remove map logo and copyright note "/>
<div id=" map "style=" width:400px;height:40px "></div >
</body>