Title: Map It! by Two Row Studio
Author: Two Row Studio
Published: <strong>2019 年 10 月 10 日</strong>
Last modified: 2026 年 1 月 29 日

---

搜索插件

![](https://ps.w.org/map-it-by-two-row-studio/assets/banner-772x250.png?rev=2173024)

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

![](https://ps.w.org/map-it-by-two-row-studio/assets/icon-256x256.png?rev=2173023)

# Map It! by Two Row Studio

 作者：[Two Row Studio](https://profiles.wordpress.org/tworowstudio/)

[下载](https://downloads.wordpress.org/plugin/map-it-by-two-row-studio.2.0.1.zip)

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

 [支持](https://wordpress.org/support/plugin/map-it-by-two-row-studio/)

## 描述

Map It! is a flexible, developer-friendly plugin to help take the tedious coding
out of adding maps to a website that can mark geographic locations related to posts.
The whole point is to let you choose the types of posts, the display and the formatting
of maps markers and data to best fit your needs. Over time, more specific customization
features will be made available to developers as well as extensions for the non-
technical user to take advantage of the base plugin in new and useful ways.

If you are a developer and are missing a way to add a customization, drop us a line
at support@tworowstudio.com so we can make sure we consider it for future releases.

## 屏幕截图

[⌊Example page of how a post can be given map coordinates. Once saved, the marker
can be dragged to a new location on the map to update the coordinates.⌉⌊Example 
page of how a post can be given map coordinates. Once saved, the marker can be dragged
to a new location on the map to update the coordinates.⌉[

Example page of how a post can be given map coordinates. Once saved, the marker 
can be dragged to a new location on the map to update the coordinates.

[⌊A simple shortcode will embed a Google map on a page and show the points within
the search area related to any posts or media provided with coordinates.⌉⌊A simple
shortcode will embed a Google map on a page and show the points within the search
area related to any posts or media provided with coordinates.⌉[

A simple shortcode will embed a Google map on a page and show the points within 
the search area related to any posts or media provided with coordinates.

[⌊Example of the map embedded on a separate page or post.⌉⌊Example of the map embedded
on a separate page or post.⌉[

Example of the map embedded on a separate page or post.

[⌊The default Info Window showing the post title, its distance from the search point
and a link to the item itself⌉⌊The default Info Window showing the post title, its
distance from the search point and a link to the item itself⌉[

The default Info Window showing the post title, its distance from the search point
and a link to the item itself

[⌊The settings page where the needed Google API key and presentation defaults are
loaded and stored.⌉⌊The settings page where the needed Google API key and presentation
defaults are loaded and stored.⌉[

The settings page where the needed Google API key and presentation defaults are 
loaded and stored.

## 安装

This section describes how to install the plugin and get it working.

e.g.

 1. Upload `trs_mapit` to the `/wp-content/plugins/` directory or extract trs_mapit.
    zip in that location
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Get your free Google Maps API key (https://developers.google.com/maps/documentation/
    javascript/get-api-key)
 4. Add the key to the settings package
 5. Select post types and start adding coordinates
 6. Add the shortcode where ever you want your map to appear.

## 常见问题

### Can this work with all post types?

Conceivably, yes. The plugin setup screen allows you to select which post types 
should allow the settings for mapping to be entered. Can’t say there isn’t a post
type out there that won’t work, though. Really?? Prove a negative?!?!? 😉

### What about different markers? Things for each type of post? Categories? Address lookups?

We’re working on those as extensions to the basic plugin as well as trying to add
hooks for developers to do their own thing with it. If you have a suggestion let
us know!

## 评价

此插件暂无评价。

## 贡献者及开发者

「Map It! by Two Row Studio」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Two Row Studio ](https://profiles.wordpress.org/tworowstudio/)

[帮助将「Map It! by Two Row Studio」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/map-it-by-two-row-studio)

### 对开发感兴趣吗?

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

## 更新日志

#### 2.0.1

 * Isolated map listeners for data refreshes and min zoom to allow them to be turned
   on and off.
 * Added option to limit search geographically
 * fixed search results – limiting to post types specified and enabled

#### 2.0.0

 * Added option for displaying a filter and no map until results are retrieved
 * added a search attribute to the shortcode to allow search of posts

#### 1.1.1

 * Added dynamic padding to post IDs when using them to uniquely order posts with
   the same location.

#### 1.1.0

 * removed some debug logging
 * Set a later sequence to default trmi_get_post_distance_data filter to ensure 
   distance based sorting by default.

#### 1.0.7

 * Adjusted map result refresh rules to trigger more naturally
 * added Zoom rules to trigger map refreshes

#### 1.0.6

 * Corrected Filter operation
 * Corrected archive page errors
 * added new key for Server to Server API access
 * Tested for WP 5.7.1

#### 1.0.5

 * Test for WP core version 5.6
 * Correct issue where activating for a post type without a defined Google API Key
   causes error

#### 1.0.4

 * Correct bad application of patch for admin Screens

#### 1.0.3

 * Test to WP core 5.3.2
 * Correct distance limitation error
 * Fix Info Window security / Nonce failure
 * remove bade donate link
 * fix marker on admin pages for pages and custom post types

#### 1.0.1

Readme file updates

#### 1.0

First stable release that maps posts:
 – Select post types that can be mapped – 
metabox for post edit screens to enter the Longitude and Latitude for the post –
Shortcode for insertion of map on another post page

## 额外信息

 *  版本 **2.0.1**
 *  最后更新：**4 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.1 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/map-it-by-two-row-studio/)
 * 标签
 * [extensible](https://cn.wordpress.org/plugins/tags/extensible/)[geolocation](https://cn.wordpress.org/plugins/tags/geolocation/)
   [Google Maps](https://cn.wordpress.org/plugins/tags/google-maps/)[locations](https://cn.wordpress.org/plugins/tags/locations/)
 *  [高级视图](https://cn.wordpress.org/plugins/map-it-by-two-row-studio/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/map-it-by-two-row-studio/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/map-it-by-two-row-studio/reviews/)

## 贡献者

 *   [ Two Row Studio ](https://profiles.wordpress.org/tworowstudio/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/map-it-by-two-row-studio/)