JS in reference to Baidu map and Baidu Map logo and information to remove _javascript skills

Source: Internet
Author: User
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>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.