Title: WP_NearbyFacilities
Author: shizuki17xx
Published: <strong>2020年4月7日</strong>
Last modified: 2020年4月9日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

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

# WP_NearbyFacilities

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

[ダウンロード](https://downloads.wordpress.org/plugin/wp-nearbyfacilities.v1.0.3.zip)

 * [詳細](https://ja.wordpress.org/plugins/wp-nearbyfacilities/#description)
 * [レビュー](https://ja.wordpress.org/plugins/wp-nearbyfacilities/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/wp-nearbyfacilities/#installation)
 * [開発](https://ja.wordpress.org/plugins/wp-nearbyfacilities/#developers)

 [サポート](https://wordpress.org/support/plugin/wp-nearbyfacilities/)

## 説明

中心点と検索対象を指定するだけで、中心点と検索対象のそれぞれにマーカーを表示する
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

## インストール

 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.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

WP_NearbyFacilities はオープンソースソフトウェアです。以下の人々がこのプラグイン
に貢献しています。

貢献者

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

“WP_NearbyFacilities” は1ロケールに翻訳されています。 [翻訳者](https://translate.wordpress.org/projects/wp-plugins/wp-nearbyfacilities/contributors)
のみなさん、翻訳へのご協力ありがとうございます。

[“WP_NearbyFacilities” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/wp-nearbyfacilities)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/wp-nearbyfacilities/)する
か、[SVN リポジトリ](https://plugins.svn.wordpress.org/wp-nearbyfacilities/)をチェック
するか、[開発ログ](https://plugins.trac.wordpress.org/log/wp-nearbyfacilities/)を
[RSS](https://plugins.trac.wordpress.org/log/wp-nearbyfacilities/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 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)

## メタ

 *  バージョン **1.0.3**
 *  最終更新日 **7年前**
 *  有効インストール数 **10未満**
 *  WordPress バージョン ** 4.6またはそれ以降 **
 *  検証済み最新バージョン: **5.4.24**
 *  PHP バージョン ** 7.2またはそれ以降 **
 *  言語
 * [English (US)](https://wordpress.org/plugins/wp-nearbyfacilities/)、[Japanese](https://ja.wordpress.org/plugins/wp-nearbyfacilities/).
 *  [プラグインを翻訳](https://translate.wordpress.org/projects/wp-plugins/wp-nearbyfacilities)
 * タグ
 * [google map](https://ja.wordpress.org/plugins/tags/google-map/)[Google map nearby places](https://ja.wordpress.org/plugins/tags/google-map-nearby-places/)
   [nearby places](https://ja.wordpress.org/plugins/tags/nearby-places/)[wp google map](https://ja.wordpress.org/plugins/tags/wp-google-map/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/wp-nearbyfacilities/advanced/)

## 評価

レビューはまだ送信されていません。

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

[すべてのレビューを見る](https://wordpress.org/support/plugin/wp-nearbyfacilities/reviews/)

## 貢献者

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

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/wp-nearbyfacilities/)