Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

Travel Map

Опис

Easily create Travel Baidu Maps to add to any WordPress site. You can create one or multiple travel map
, then insert the map with a shortcode.

With Travel Baidu Maps you can generate a map with multiple locations, a route, hyper links and pictures.

The motive is that China mainland user cannot access Google map, so they could not use these map plugins
based on Google API, but the map plugins based on Baidu API is a little limited.

This plugin comes from “Custom baidu maps” plugin, but the usage is totally different and lots of enhancement.

Basic Usage with shortcodes :

You just need to save the map as draft, then you can find a short code in the maps list page,
or you can find it in the current page after clicking “Publish” button.

[btmap id=”id”]
Options :
– id : unique id for a travel map, such as 333

Advanced Usage Travl Map post-type :

  1. Enter your Baidu Developer API Key (if you have not already).
  2. Select the “Travel Map” 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 the map to add a new marker to this map.
  2. Right click on the map to set the center point, the setting data will change too.
  3. Scroll up or down to scale the map, or click the button within the map, the setting data will change too.
  4. Click on “Show Marker Details” if you wish to see the details visible at start.
  5. Change the “Back Color” if you wanna the color of that marker and the route ending into it.
  6. The content of name and description for a marker supports HTML, so you could imbed some small image and or hyper link.

Adding a Marker on the map (optional) :

  1. Click on “Add in travel route” if you wish to find it in the travel route.

Set Travel Map general setting:
1. Baidu Developers API key, used to access Baidu map API.
1. Default route color, you can specify it to make your first marker looks with this default color.
1. Default time to show detail after clicking marker, if a marker is set to show no detail at default, you can click
it to show detail, then you can click the detial area to hide it and show the marker again. But as my test result shows,
user cannot hide the detail in iPhone, so I added this option, to let the detail automatically hide after clicking.

Скріншоти

  • Setting in the travel map settings menu.
  • Snapshot for a travel map in editing with number marked markers.
  • Result of a travel map.

Встановлення

Follow the steps below for the plugin installation :

  1. Upload travel-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.

Часті питання

Installation Instructions

Follow the steps below for the plugin installation :

  1. Upload travel-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.
Why is the plugin showing an error “You have not entered your Baidu Developer API Key”

To use Baidu Maps, you need to have a Baidu Developer API Key.
To obtain the API Key please visit : http://lbsyun.baidu.com/apiconsole/key

Відгуки

Для цього плагіна немає відгуків.

Учасники та розробники

“Travel Map” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “Travel Map” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.