Title: EasyGeo
Author: theozero
Published: <strong>2011年5月3日</strong>
Last modified: 2011年5月3日

---

プラグインを検索

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

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

# EasyGeo

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

[ダウンロード](https://downloads.wordpress.org/plugin/easygeo.zip)

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

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

## 説明

This plugin is extremely simple, and intended for someone who wants to add geocoding
to their blog, but without the bloat of a big fat plugin. This lets you tag each
post with a location (description, latitude, longitude) which can then be used in
your custom theme.

This plugin also provides a feature to track of a single location not associated
with any posts. This is useful in order to create a “Where Am I?” feature on your
blog where you control the level of detail (just to share the city, rather than 
pluggin in foursquare data). This is especially nice if you’re running a travel 
blog or a website for some kind of tour.

## スクリーンショット

 * [[
 * The extra meta-box that appears while editing posts. A similar box appears on
   the dashboard if you choose to enable the “Where Am I” tracker.

## インストール

 1. Upload `easygeo.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Use `EasyGeo :: getCoordinates($post->ID)` to get the coordinates in tuple (description,
    lat, lon)
 4. Or use `EasyGeo :: getCoordinatesString($post->ID)` to get “lat,lon” and `EasyGeo::
    getLocationString($post->ID)` to get the description
 5. Use `EasyGeo :: getCurrentCoordinates()` and getCurrent… to get the single location
    tracked from the dashboard

## FAQ

### How do I actually add a map to my template?

You can use the google static maps API to get a static image. Heres an example:

    ```
    <?php if ( EasyGeo :: getCoordinates($post->ID) != null ) : ?>
    <div>
        <img src="http://maps.google.com/maps/api/staticmap?center=<?php echo EasyGeo::getCoordinatesString($post->ID); ?>&zoom=6&size=219x220&maptype=hybrid&markers=color:blue|<?php echo SimpleGeo::getCoordinatesString($post->ID); ?>&sensor=false" width="219" height="220" />
        <span id="where_label"><?php echo SimpleGeo::getLocationString($singlepostid); ?></span>
    </div>
    ```

Or you can use the regular API to get an interactive map. It’s all pretty straightforward.

### What else does this plugin do?

Nothing. The point is that it’s dead simple, and easy to use in the backend. From
this, you can build all kinds of crazy interactive map browsers for your blog and
this plugin will just handle the tagging on the backend.

_Enjoy!_

## 評価

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

## 貢献者と開発者

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

貢献者

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

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

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

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

## 変更履歴

#### 1.0

 * Initial Release

## メタ

 *  バージョン **1.0**
 *  最終更新日 **15年前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 2.0.2またはそれ以降 **
 *  検証済み最新バージョン: **3.0.0**
 *  言語
 * [English (US)](https://wordpress.org/plugins/easygeo/)
 * タグ
 * [geo](https://ja.wordpress.org/plugins/tags/geo/)[geocode](https://ja.wordpress.org/plugins/tags/geocode/)
   [geocoding](https://ja.wordpress.org/plugins/tags/geocoding/)[lat](https://ja.wordpress.org/plugins/tags/lat/)
   [lon](https://ja.wordpress.org/plugins/tags/lon/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/easygeo/advanced/)

## 評価

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

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

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

## 貢献者

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

## サポート

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

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

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](http://theoephraim.com/)