Plugin Directory

Custom Baidu Maps

Custom Baidu Maps is a WordPress plugin to easily create and integrate one or more Baidu maps with custom locations in to your site.

Follow the steps below for the plugin installation :

  1. Upload baidu-maps.zip to the /wp-content/plugins/ directory or add the plugin via wordpress plugin repository.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Enter your Baidu Developer API key in the settings page.

Basic Usage with shortcodes :

To provide a map with the width and height of 500 * 400, centered at latitude : 39.900 , longitude : 116.403 with a zoom of '12'

[bmap width="500" height="400" lat="39.900" lng="116.403" zoom="12"]

Options : - width : width of the map entered in pixels - height : height of the map entered in pixels - lat : latitude of the map - lng : longitude of the map - zoom : zoom level of the map (1 - 19), lowest to highest

Advanced Usage Baidu Maps post-type :

  1. Enter your Baidu Developers API Key (if you have not already).
  2. Select the "Baidu Maps" post type from the wordpess menu.
  3. Click on "Add New".
  4. Enter the map settings (height, width, zoom and coordinates).
  5. Upon publishing, add the new generated shortcode to the page content.

Adding a Marker on the map (optional) :

  1. Click on "Add Marker" below to add a new marker to this map.
  2. Enter the marker details (name, description, coordinates, background color, font color).
  3. You may also change the default marker image with you own image, click on "Choose Image" to select an image.
  4. Click on "Show Marker Details" if you wish to see the details visible at start.

Requires: 3.0.1 or higher
Compatible up to: 3.6.1
Last Updated: 2015-2-4
Active Installs: 200+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.