Title: Map Locator
Author: Usama_Noman
Published: <strong>2014 年 1 月 14 日</strong>
Last modified: 2014 年 1 月 14 日

---

搜尋外掛

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

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

# Map Locator

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

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

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

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

## 外掛說明

Map locator is easy to use plugin, which uses map API of google, to show users any
location in your website page or widget. The most common use of this plugin would
be to show website visitors where in map your company, hotel, hospital, school, 
college, university locate. All you need to know are coordinates of your position,
you fill them out and there you are with google map locating your position.

## 安裝方式

This section describes how to install the plugin and get it working.

e.g.

 1. Upload `map_locator.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
     OR you can directly
    make a zip and upload the plugin through upload option in plugin section in WordPress
    admin panel.

## 常見問題集

Q-How to Use?

Map locator comes with two in one, “widget and short code”, uses.

Map Locator Widget:

To display map in your sidebar you need to activate the plugin. After activating
the plugin you will be able to see our plugin by the name “Map Locator” in wordpress
widget section. You will have to drag that to sidebar to active. By default if you
don’t fill in the form the plugin will display our location (Don’t worry you can
easily change them, see modify plugin section in this document). The widget form
has four fields namely, title, latitude, longitude, and zoom. Zoom tell the zoom
of google map you want to display and it ranges from value 1 to 20. The latitude
value can lie between -90 to +90 and longitude value can lie between -180 to +180.
In case if you don’t give it right values we will still show our location on your
map as default.

Map Locator short code:

You can use short code in your pages and posts, all you will need to write.

[Map_Locator]
 Since this doesn’t tell proper coordinates the map will show the 
default location which is ours. [Map_Locator] takes five difference values.

Q- What are default settings?

Zoom: Tells zoom of google map. (Default is 14)
 Width: Tells width of google map
which will appear on your website. (Default is 725) Height: Tells height of google
map which will appear on your website. (Default is 350) Latitude: Tells latitude
position of your location in google map. (Default is 24.878489) Longitude: Tells
Longitude position of your location in google map. (Default is 67.064235)

Q- I need an example to use the shortcode.

Example:

[Map_Locator width=”850” height=”470” zoom=”14” latitude=”24.678” longitude=”67.852”]

Changing Default Value:

If you exact our plugin to some folder and open up our file that is map_locator.
php, replace all occurrences of 24.878489 with your latitude value and 67.064235
with your longitude value.

Better Use Now:

You can now just drag and drop the widget without entering any value to the form,
and still you will see your location in map, it is because you have replaced the
default coordinates. If you fill form your default values will override by new ones.

Similarly writing short code [Map_Locator] will display your location. Guess what?
You still have access to those features to override default with new values at any
time.

In most cases the plugin not only shows the desired location but also the nearest
location listed in google maps. Hence makes your appearance and business grow more
quickly.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Usama_Noman ](https://profiles.wordpress.org/usama_noman/)

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

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

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

## 變更記錄

#### 1.0

 * No change, first version.

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **12 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.0.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.4.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/map-locator/)
 * 標籤:
 * [Google Maps](https://tw.wordpress.org/plugins/tags/google-maps/)[map](https://tw.wordpress.org/plugins/tags/map/)
   [wp maps](https://tw.wordpress.org/plugins/tags/wp-maps/)
 *  [進階檢視](https://tw.wordpress.org/plugins/map-locator/advanced/)

## 評分

 4 星，滿分為 5 星

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

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

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

## 參與者

 *   [ Usama_Noman ](https://profiles.wordpress.org/usama_noman/)

## 技術支援

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

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

## 贊助

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

 [ 贊助這個外掛 ](http://9to5Best.com/)