Title: Posts in Map
Author: lucdecri
Published: <strong>2012 年 12 月 3 日</strong>
Last modified: 2013 年 2 月 13 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# Posts in Map

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

[下载](https://downloads.wordpress.org/plugin/posts-in-map.zip)

 * [详情](https://cn.wordpress.org/plugins/posts-in-map/#description)
 * [评价](https://cn.wordpress.org/plugins/posts-in-map/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/posts-in-map/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/posts-in-map/#developers)

 [支持](https://wordpress.org/support/plugin/posts-in-map/)

## 描述

Add short code [gmap] to insert in post a google map with advanced features (overlays,
clusters, callbacks, events…) and place geolocalized post (with custom fields) in
this map

To view post in map, you use this custom field :
 * geolocation : set here GPS coordinates
for post * marker : set here url for marker icon. (optional)

To view map in a post, you use this short code ;
 [gmap width=w height=h border=
b posttype=p taxonomy=t term=r maxpost=m centermap=c animate=a]

where
 * w,h are size of map (default is 500px and 300px) * b is css-like style 
for map border (default is brown solid line) * p is post-type (default is post) *
r is a term for taxonomy t to filter post (default is all post, without taxonomy
filter) * m is max number of post view in map * c il gps coordinates of centre of
map * a is 0 for not animated marker, 1 for drop marker, 2 for bouncing marker

For more information visit http://gmap3.net/

Javascript by Jean-Baptiste DEMONTE.

### Coming soon

 * custom field for post to use area instead marker
 * custom field to use address in geolocalized post instead coordinates
 * short code to view map bottom custom field geolocation

## 安装

 1. Upload `post-in-map` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. add custom field ‘geolocation’ and ‘marker’ in post that you want view in maps
 4. add short code in post to view map

Its recommended to flush the cache after upgrading.

## 常见问题

None at this moment.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Posts in Map」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Posts in Map」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/posts-in-map)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/posts-in-map/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/posts-in-map/)，或通过[RSS](https://plugins.trac.wordpress.org/log/posts-in-map/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/posts-in-map/)。

## 更新日志

#### 0.3

 * add icon property
 * bugfix

#### 0.2

 * add shortcode
 * add post geolocation reading

#### 0.1

 * only include js

## 额外信息

 *  版本 **0.3**
 *  最后更新：**13 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/posts-in-map/)
 * 标签
 * [gmap](https://cn.wordpress.org/plugins/tags/gmap/)[Google Maps](https://cn.wordpress.org/plugins/tags/google-maps/)
   [googlemaps](https://cn.wordpress.org/plugins/tags/googlemaps/)[javascript](https://cn.wordpress.org/plugins/tags/javascript/)
   [jquery](https://cn.wordpress.org/plugins/tags/jquery/)
 *  [高级视图](https://cn.wordpress.org/plugins/posts-in-map/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/posts-in-map/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/posts-in-map/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/posts-in-map/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/posts-in-map/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/posts-in-map/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/posts-in-map/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/posts-in-map/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.decristofano.it)