Title: WP_NearbyFacilities
Author: shizuki17xx
Published: <strong>April 7, 2020</strong>
Last modified: April 9, 2020

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# WP_NearbyFacilities

 By [shizuki17xx](https://profiles.wordpress.org/shizuki17xx/)

[Download](https://downloads.wordpress.org/plugin/wp-nearbyfacilities.v1.0.3.zip)

 * [Details](https://wordpress.org/plugins/wp-nearbyfacilities/#description)
 * [Reviews](https://wordpress.org/plugins/wp-nearbyfacilities/#reviews)
 *  [Installation](https://wordpress.org/plugins/wp-nearbyfacilities/#installation)
 * [Development](https://wordpress.org/plugins/wp-nearbyfacilities/#developers)

 [Support](https://wordpress.org/support/plugin/wp-nearbyfacilities/)

## Description

中心点と検索対象を指定するだけで、中心点と検索対象のそれぞれにマーカーを表示する
Googleマップを表示するプラグインです。
 使用を開始する前に、Google Maps Platform
でAPIキーを取得しておく必要があります。

It is a plug-in that displays a Google Map that displays markers at each of the 
center point and search target simply by specifying the center point and search 
target.
 Before you begin, you need to have an API key on Google Maps Platform.

### Arbitrary section

## Installation

 1. `/wp-content/plugins`ディレクトリにプラグインのファイルをディレクトリごとアップ
    ロードします。
 2. WordPressの「プラグイン」メニューからプラグインを有効化します。
 3. 「NearbyFacilities -> 設定」メニューからAPIキーを登録します。
 4. 投稿内にショートコードを書けばGoogle Mapが表示されます。
     例：[nearbyFacilities
    address=”中心点の住所” type=”検索対象の種類” zoom=”ズームレベル” radius=”検索半径”]
 5. Upload the plugin file to the `/wp-content/plugins` directory.
 6. Activate the plugin through the ‘Plugins’ menu in WordPress.
 7. Register an API key from the “NearbyFacilities -> Settings” menu.
 8. If you write a short code in the post, Google Map will be displayed.
     ex：[nearbyFacilities
    address=”center address of map” type=”type of search target” zoom=”zoom level” 
    radius=”search radius”]

## FAQ

 * 何か必要なものはありますか？
    - Google Maps PlatformでAPIキーを取得しておく必要があります。
       以下のサイトを
      参考にキーを取得して、Geocoding API、Maps JavaScript API、Places APIの３つ
      を有効にしておきます。 [https://qiita.com/k2999/items/a9f41ea697a4f955ec1c]
 * What do I need to display the map?
    - Yes. To display a map using the Google Maps API, you need a Google Maps API
      key.
    - Obtain the key by referring to the following pages, etc., and enable the three
      APIs of Geocoding API, Maps JavaScript API, Places API.
       [https://qiita.com/
      k2999/items/a9f41ea697a4f955ec1c]
 * ショートコードを作成するにはどうすればよいですか？
    - APIキーを登録した後 `[nearbyFacilities address="中心点の住所" type="検索対象
      の種類" zoom="ズームレベル" radius="検索半径"]` の書式で書くことができます。
    - 以下の方法でにWebUIで生成することもできます。
       1. 「NearbyFacilities -> 設定」メニューからAPIキーを登録します。
       2. 「NearbyFacilities -> ショートコードの生成」メニューで各種パラメータを設定
          し、ショートコードを生成します。
       3. 「決定」ボタンクリックで最下部のテキストボックスに生成されたショートコード
          が入力されます。
       4. テキストボックスをクリックすると、自動的にクリップボードにコピーされるので、
          投稿の際に貼り付けてください。
    -  * WebUIにあるパラメーターの他に、ボックスの幅と高を指定することもできます(「
         px」または「%」)。
 * How do I get the shortcode to write ?
    - After registering the API key, It can be written in the format of `[nearbyFacilities
      address="address of center point" type="type of search target" zoom="zoom 
      level" radius="search radius"]` .
    - It can also be generated in WebUI in the following ways.
       1. Register an API key from the “NearbyFacilities -> Settings” menu.
       2. Set various parameters in the “NearbyFacilities-> Generate Shortcode” menu
          to generate a shortcode.
       3. Click the “Submit” button and the generated shortcode will be entered in 
          the text box at the bottom.
       4. Clicking on the text box will automatically copy it to the clipboard, so 
          paste it when posting.
    -  * In addition to the parameters found in the WebUI, you can also specify 
         the width and height of the box (“px” or “%”).
 * 「address」に設定できるのは住所だけですか？
    - 住所がはっきりわからない場合は、Googleで検索できるのであれば建物名・施設名
      でも大丈夫です。
 * Can only “address” be set for address?
    - If you do not know the address, you can use the building name or facility 
      name if you can search on Google.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WP_NearbyFacilities” is open source software. The following people have contributed
to this plugin.

Contributors

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

“WP_NearbyFacilities” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wp-nearbyfacilities/contributors)
for their contributions.

[Translate “WP_NearbyFacilities” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-nearbyfacilities)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-nearbyfacilities/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-nearbyfacilities/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-nearbyfacilities/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-nearbyfacilities/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.3

 * 重複していたサイドメニューの項目名を修正(Fixed duplicate side menu item names)
 * readme.txtの修正(Modify readme.txt)

#### 1.0.2

 * 翻訳ファイル読み込みの関数をクラス内に収容(Contains translation file reading 
   function in class)

#### 1.0.1

 * コーディングスタイルの修正(Modify coding style)
 * 動作していないjavascriptの読み込みを抑制(Suppress loading of javascript that 
   is not working)

#### 1.0.0

 * 公式申請前のバージョン。限定された環境でしか動かなかった(Version before official
   application. Only worked in a limited environment)

## Meta

 *  Version **1.0.3**
 *  Last updated **6 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.6 or higher **
 *  Tested up to **5.4.19**
 *  PHP version ** 7.2 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/wp-nearbyfacilities/) and [Japanese](https://ja.wordpress.org/plugins/wp-nearbyfacilities/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wp-nearbyfacilities)
 * Tags
 * [google map](https://wordpress.org/plugins/tags/google-map/)[Google map nearby places](https://wordpress.org/plugins/tags/google-map-nearby-places/)
   [nearby places](https://wordpress.org/plugins/tags/nearby-places/)[wp google map](https://wordpress.org/plugins/tags/wp-google-map/)
 *  [Advanced View](https://wordpress.org/plugins/wp-nearbyfacilities/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/wp-nearbyfacilities/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-nearbyfacilities/)