Title: Map pins
Author: rvwoens
Published: <strong>2013 年 11 月 26 日</strong>
Last modified: 2018 年 9 月 26 日

---

搜尋外掛

![](https://ps.w.org/map-pins/assets/banner-772x250.jpg?rev=835036)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/map-pins_926d6c.svg)

# Map pins

 由 [rvwoens](https://profiles.wordpress.org/rvwoens/) 開發

[下載](https://downloads.wordpress.org/plugin/map-pins.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/map-pins/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/map-pins/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/map-pins/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/map-pins/#developers)

 [技術支援](https://wordpress.org/support/plugin/map-pins/)

## 外掛說明

_Map pins makes it easy to create a map with locations of businesses, events, or
venues on a map._

#### You can:

 * Insert a Google Map with custom markers anywhere on your blog using a shortcode.
 * Show a scrollable list of locations next to the Google Map.
 * Order the locations based on distance from visitor location (based on browser
   location).
 * Oodles of information can be maintained per pin/location.
 * Business hours are defined per location. Visitors can search for currently opened
   locations.
 * Most options are highly customizable:
    - All options can be controlled by shortcode parameters
    - Show different sets of locations on various pages by using the location category
    - You can display only a map, display a map and list combination and even show
      only a list of locations (for example in your sidebar). All variants are searchable.
    - Includes country specific search options, for example zip-code optimized searching(
      powered by Google Maps).
    - Large number of marker-icons provided (courtesy of Maps Icons Collection project
      by Nicolas Mollet). You can add your own custom icons to the map as well.
    - Configurable admin environment to make location maintenance very easy.
 * Automatic scaling of the map boundaries based on locations shown.
 * English and Dutch translations are included.
 * Translatable using .mo and .po files.
 * Optimized for WordPress Multisite

#### Your visitors can:

 * Browse a Google Map with all the locations you added.
 * Use an intelligent search option to find locations close to a location (search
   powered by Google Maps).
 * Find locations based on their current location (using GPS / IP location via the
   browser).
 * Search based on business hours of a location is opened right now or not.
 * Find information about the location you added by clicking a map marker including:
   name, address, business hours, any text you add and a hyperlink).

#### Example shortcode:

[mappins-map width=”500″ height=”900″ searchbar=”Y” list=”left” showmap=”show” listwidth
=”40%”]

#### List of location attributes:

name, address, zipcode, city, country, telephone, category, markericon, openinghours,
link URL, latitude/longitude

#### Licenses:

 * The plugin uses wonderful custom marker icons from the Maps Icons Collection 
   project by Nicolas Mollet. (http://mapicons.nicolasmollet.com/)
 * Header photo by Dave77459 (http://www.flickr.com/photos/dave77459/6335868568/)
   cc license (http://creativecommons.org/licenses/by-nc-sa/2.0/)

## 螢幕擷圖

[⌊Map pins with map, list and search bar⌉⌊Map pins with map, list and search bar⌉[

Map pins with map, list and search bar

[⌊Defining your pins⌉⌊Defining your pins⌉[

Defining your pins

[⌊Configure map-pins⌉⌊Configure map-pins⌉[

Configure map-pins

## 安裝方式

**To install Map Pins manually, follow these steps:**

 1. Get the plugin using the plugins->add menu and search for `map-pins`
 2. Activate the plugin through the Plugins menu in WordPress
 3. Get a Google Maps API key here: https://developers.google.com/maps/documentation/
    javascript/get-api-key (and also enable Google Places API on this key if you want
    to use the search box)
 4. Go the the plugin settings page and paste your Google Maps API key there. All other
    settings are optional.
 5. Configure the Map Pins locations through the Map Pins menu (located in the left
    menu or in case of WPMU on network level)
 6. Embed the Map Pins map on any page or post using the [mappins-map] shortcode.
 7. Enjoy

Otherwise just use the plugin-install page in wordpress.

## 常見問題集

  Q: How many maps I can insert into a post or page?

A: The number of map-pins objects on a page is limited to 1 per page. You can change
the shortcut parameters (like width, list-style, category) on other pages.

  Q: How can I show other sets of locations on different pages

A: You can filter shown locations based on category on different pages. The category
filter is part of the shortcut parameters, so you can change the category filter
on each page. For each location the category can be selected.

  Q: Can I upload a CSV of XLS file with locations?

A: No. But you can use phpAdmin or another mysql tool to fill the database.

  Q: Clicking `my-location` shows an error

A: You need an SSL (https://) website, otherwise the browser does not allow this.

  Q: I am using WP Multisite and have one child site for each of my stores. Can 
I use one database defined in the network?

A: Yes. The database is maintained on the network level.

  Q: Is Google Maps a free service? I don’t want to pay Google.

A: Unfortunately, Google Maps is a payed service nowadays. Fortunately the free-
tier is pretty large and you will propably not hit the free-tier limit for a low-
traffic site. However you should protect your key (see google key management) otherwise
people can (and will!) obtain your key from your website and start using it. Also,
its Google, so the pricing can change any minute now.

  Q: I want to use my own pin icons.

A: You can! Just put them in the plugin pics directory (so that is _wp-content/plugins/
map-pins/pics_ in your install). The plugin will find them automagically.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Map pins〉的開發相關工作。

參與者

 *   [ rvwoens ](https://profiles.wordpress.org/rvwoens/)
 *   [ Remco Bron ](https://profiles.wordpress.org/remcobron/)

[將〈Map pins〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/map-pins)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/map-pins/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/map-pins/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/map-pins/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/map-pins/)。

## 變更記錄

#### 1.29

 * Fixed submenu. First submenu is now called locations, and not map-pins. Took 
   a lot of googling to find the solution but https://wordpress.stackexchange.com/
   questions/52675/how-to-remove-duplicate-link-from-add-menu-page came to the resque.

#### 1.20

 * Allow filtering on category

#### 1.13

 * some styling fixed

#### 1.10

 * Added required Google Maps API key

#### 1.02

 * fixed short php tags
 * tested with latest wordpress version

#### 1.01

 * php 5.2 compatible and php version check

#### 1.0

 * After hours notification with moon icon
 * screenshots and other nice info on wordpress.org
 * made responsive

#### 0.1

 * Initial release.

## 中繼資料

 *  版本 **1.29**
 *  最後更新 **8 年前**
 *  啟用安裝數 **30+**
 *  WordPress 版本需求 ** 3.0.5 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.9.29**
 *  語言
 * [English (US)](https://wordpress.org/plugins/map-pins/)
 * 標籤:
 * [categories](https://tw.wordpress.org/plugins/tags/categories/)[Google Maps](https://tw.wordpress.org/plugins/tags/google-maps/)
   [map](https://tw.wordpress.org/plugins/tags/map/)[maps](https://tw.wordpress.org/plugins/tags/maps/)
   [shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
 *  [進階檢視](https://tw.wordpress.org/plugins/map-pins/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  4 個 5 星使用者評論     ](https://wordpress.org/support/plugin/map-pins/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/map-pins/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/map-pins/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/map-pins/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/map-pins/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/map-pins/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/map-pins/reviews/)

## 參與者

 *   [ rvwoens ](https://profiles.wordpress.org/rvwoens/)
 *   [ Remco Bron ](https://profiles.wordpress.org/remcobron/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/map-pins/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://www.innovader.nl/donate)