Title: GMap Targeting – Simple Targeting Inside Google Maps
Author: RealMag777
Published: <strong>2012 年 3 月 12 日</strong>
Last modified: 2025 年 12 月 5 日

---

搜索插件

![](https://ps.w.org/gmap-targeting/assets/banner-772x250.png?rev=3387322)

![](https://ps.w.org/gmap-targeting/assets/icon-256x256.png?rev=3387321)

# GMap Targeting – Simple Targeting Inside Google Maps

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

[下载](https://downloads.wordpress.org/plugin/gmap-targeting.zip)

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

 [支持](https://wordpress.org/support/plugin/gmap-targeting/)

## 描述

Set google map on your WordPress site using shortcode or widget by one click.
 Interactive
map mode, image map mode, any maps sizes, very pleasant and convenient popup window
with all map options. You can set map as by latitude and longitude so by address.
One place – one click, do not waste time walking to other pages.

The plugin has in-built widget for placing maps into sidebars.

Example of the shortcode: [gmap_targeting height=”500″ width=”500″ mode=”map” location_mode
=”address” latitude=”” longitude=”” address=”Spain, Alicante, castell de la santa
barbara” zoom=”14″ maptype=”ROADMAP” enable_marker=”1″ enable_scrollwheel=”1″ marker_is_draggable
=”0″ enable_popup=”1″]Hello World!![/gmap_targeting]

### License

This plugin is copyright pluginus.net © 2012 – 2026 with [GNU General Public License](http://www.gnu.org/copyleft/gpl.html)
by realmag777.

This program is free software; you can redistribute it and/or modify it under
 the
terms of the [GNU General Public License](http://www.gnu.org/copyleft/gpl.html) 
as published by the Free Software Foundation; either version 2 of the License, or(
at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY

WARRANTY. See the GNU General Public License for more details.

### ToDo

The next version or later:
 – more that one markers on map

## 屏幕截图

 * [[
 * Shortcode button on editor
 * [[
 * Shortcode popup
 * [[
 * Plugins widget

## 安装

#### New Installations

 * Download to your plugin directory or simply install via WordPress admin interface.
 * Activate.
 * Use.

## 常见问题

Q: Demo …?
 R: http://pluginus.net/shop/wordpress-plugins/google-map-targeting/

Q: How to enable Google Map API only on some pages
 R: In your current wp theme 
functions.php file use next code:

    ```
    add_filter('google_map_pages',function($pages){
        return array(402,407);
    },999);
    ```

Q: How to set image width in ‘%’ instead of ‘px’
 R: Just write in field ‘width’
of shortcode value with ‘%’ sign. For example: 30%

## 评价

![](https://secure.gravatar.com/avatar/d8f474d2445f6923d6ac53c2f3cbd8f3de2ca95298a067cac3d96e30253c3439?
s=60&d=retro&r=g)

### 󠀁[Very useful tool!!!!](https://wordpress.org/support/topic/very-useful-tool-12/)󠁿

 [pavloborysenko](https://profiles.wordpress.org/pavloborysenko/) 2016 年 9 月 12
日

Thanks, I really like this plugin!

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/gmap-targeting/reviews/)

## 贡献者及开发者

「GMap Targeting – Simple Targeting Inside Google Maps」是开源软件。 以下人员对此
插件做出了贡献。

贡献者

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

[帮助将「GMap Targeting – Simple Targeting Inside Google Maps」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/gmap-targeting)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.8

 * 1 security fix, thanks to Skalucy and Patchstack.com

#### 1.1.7

 * 1 security fix, thanks to LVT-tholv2k and Patchstack.com

#### 1.1.6

 * 1 notice fixed
 * enabling CURL functionality if on the server allow_url_fopen=0

#### 1.1.5

WordPres 4.6 compatibility

#### 1.1.4

WordPres 4.3 compatibility

#### 1.1.3

WordPres 4.0 compatibility

#### 1.1.2

Russian language files added. All harcoded words are translate able. Some improvements
in shortcode popup with the jquery.

#### 1.1.1

WordPress 3.9.0 compatibility

#### 1.1.0

Rewritten code. Inserting map with more convinient manner by popup window

#### 1.0.3

1 bug fixed

#### 1.0.2

1 bug fixed

#### 1.0.1

Plugin release. Operate all the basic functions.

## 额外信息

 *  版本 **1.1.8**
 *  最后更新：**6 月前**
 *  活跃安装数量 **80+**
 *  WordPress 版本 ** 3.5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  语言
 * [English (US)](https://wordpress.org/plugins/gmap-targeting/)
 * 标签
 * [google](https://cn.wordpress.org/plugins/tags/google/)[google map](https://cn.wordpress.org/plugins/tags/google-map/)
   [map](https://cn.wordpress.org/plugins/tags/map/)[page](https://cn.wordpress.org/plugins/tags/page/)
   [post](https://cn.wordpress.org/plugins/tags/post/)
 *  [高级视图](https://cn.wordpress.org/plugins/gmap-targeting/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/gmap-targeting/)

## 捐助

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

 [ 捐助此插件 ](https://codecanyon.pluginus.net/user/realmag777/portfolio)