Title: Simple Shortcode for Yatmo Map
Author: Yatmo SRL
Published: <strong>2023 年 12 月 29 日</strong>
Last modified: 2023 年 12 月 29 日

---

搜尋外掛

![](https://ps.w.org/yatmo-map/assets/banner-772x250.jpg?rev=3015520)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/yatmo-map/assets/icon-256x256.png?rev=3015520)

# Simple Shortcode for Yatmo Map

 由 [Yatmo SRL](https://profiles.wordpress.org/yatmo/) 開發

[下載](https://downloads.wordpress.org/plugin/yatmo-map.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/yatmo-map/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/yatmo-map/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/yatmo-map/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/yatmo-map/#developers)

 [技術支援](https://wordpress.org/support/plugin/yatmo-map/)

## 外掛說明

Very quick and simple to use Yatmo map plugin: with our without points of interest
on the map, you will enjoy it!

Points of interest: a part of the POIs categories from OpenSteetMap can be shown
on the map and we also added the shapes of the public transport lines and other 
interesting info like motorways entrances…

Put our map on your WordPress posts and pages simply and easily with a shortcode.
Straight forward and easy to use! Ideal for real estate listings, contact page maps,
maps showing delivery areas and many other uses!

You can use our map for free if you don’t exceed 60,000 map loads per month, if 
you need more or if you want to access more options (like isochrones calculation,
etc.): you can take a monthly subscription (no commitment, you stop when you want!)
[here](https://yatmo.com/en/account/register). Do not forget to configure correctly
your Yatmo account in this case (billing info, domain name, etc.).

You want to use our map on a real estate listing without giving the real location?
We have an option to put a circle (with a randomly moved center of course) on the
map instead of a classical pin! So check our anonymous option in the FAQ for that
😉

FYI: our plugins are completely cookieless so don’t worry about that, we won’t add
any cookies…

Note: this WordPress plugins relies on our script https://map.yatmo.com/map.js which
creates the map and load the points of interest, etc.

It also relies on two 3rd party services:

 * https://yatmo.com is needed to load the point of interest on the map, isochrones
   calculations, etc.
    - Terms of sales: https://yatmo.com/en/legal/termsofsales
    - Privacy policy: https://yatmo.com/en/legal/privacyandgdpr
    - Documentation: https://documentation.yatmo.com
 * https://nominatim.openstreetmap.org
    - Limitations: https://operations.osmfoundation.org/policies/nominatim/
    - Privacy policy: https://wiki.osmfoundation.org/wiki/Privacy_Policy

Maps are displayed with the [yatmo-map] shortcode:

Simply create a **map** with (it will use the default location from the settings):

    ```
    [yatmo-map]
    ```

(currently supporting one map per page!)

Lookup an address with:

    ```
    [yatmo-map address="Rue de la Loi 16, 1000 Bruxelles"]
    ```

Know the latitude and longitude of a location? Use them (and a zoom level) with:

    ```
    [yatmo-map lat=50.850340 lng=4.351710 zoom=15]
    ```

Add a **marker** under your map shortcode, like so:

    ```
    [yatmo-map]
    [yatmo-marker]
    ```

Want more? Make more (and fit the map to contain all of them):

    ```
    [yatmo-map fitbounds]
    [yatmo-marker lat=50.850340 lng=4.351710]
    [yatmo-marker lat=50.784574 lng=4.254787]
    ```

They can also use an address instead of a latitude/longitude:

    ```
    [yatmo-marker address="Rue de la Loi 16, 1000 Bruxelles"]
    ```

You can even add **popups** (with text content) with their titles (visible on mouse
over):

    ```
    [yatmo-map]
    [yatmo-marker lat=50.850340 lng=4.351710 title="Hello world" popuptextcontent="Lorem ipsum dolor sit amet, consectetur adipiscing elit."]
    ```

#### More

Check out other examples on our documentation page: [https://documentation.yatmo.com/#wordpress_map](https://documentation.yatmo.com/#wordpress_map).

## 螢幕擷圖

[⌊Simple default marker⌉⌊Simple default marker⌉[

Simple default marker

[⌊Isochrones enabled (needs a paid subscription)⌉⌊Isochrones enabled (needs a paid
subscription)⌉[

Isochrones enabled (needs a paid subscription)

[⌊Points of interest disabled and custom map style⌉⌊Points of interest disabled 
and custom map style⌉[

Points of interest disabled and custom map style

[⌊Info window on click on marker⌉⌊Info window on click on marker⌉[

Info window on click on marker

[⌊Custom icon marker⌉⌊Custom icon marker⌉[

Custom icon marker

[⌊"Anonymous" mode: marker with a circle with a center randomly adapted⌉⌊"Anonymous"
mode: marker with a circle with a center randomly adapted⌉[

“Anonymous” mode: marker with a circle with a center randomly adapted

## 安裝方式

 1. Choose to add a new plugin, then click upload
 2. Upload the yatmo-map zip
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Use the shortcodes in your pages or posts: e.g. `[yatmo-map]` and `[yatmo-marker]`

## 常見問題集

### Can I change the map style?

Yes you can! Just use the settings page and choose your default style or override
it thanks to the “style” option on the map shortcode. Like
 [yatmo-map style=2]

### Can I change the marker color?

Of course! Just use parameter “color” in the shortcode. Like

    ```
    [yatmo-map]
    [yatmo-marker lat=50.850340 lng=4.351710 color="yellow"]
    ```

### I want to use a map but not showing the precise location, how can I do that?

Thanks to our plugin, it’s possible!
 You have to use the parameter “anonymous” 
in the marker shortcode. Like this:

    ```
    [yatmo-map]
    [yatmo-marker lat=50.850340 lng=4.351710 anonymous=1]
    ```

The precise location will be randomly modified on the server side and a circle will
be added on the map.
 It’s also working fine with an address instead of lat/lng.
If you want to display information about the surroundings, do not hesitate to check
our [other WordPress plugin](https://wordpress.org/plugins/yatmo-text/) for that!

### Can I add a message to a marker?

Yes you can 🙂

    ```
    [yatmo-map]
    [yatmo-marker lat=50.850340 lng=4.351710 title="Hello world" popuptextcontent="Lorem ipsum dolor sit amet, consectetur adipiscing elit."]
    ```

The title is visible on mouse over and the content (HTML or text, you choose) is
visible when clicked.

### I don’t need them, can I disable the points of interest?

Of course! You can do that in the plugin settings or in the shortcode:

    ```
    [yatmo-map address="Rue de la Loi 16, 1000 Bruxelles" enable_pois="0"]
    ```

### I need more than 60,000 map loads per month and/or I want to use the isochrone feature

You will need a license key for that: you just have to create an account [here](https://yatmo.com/en/account/register)
and choose the right subscription for you (you can stop whenever you want, it’s 
a simple Stripe monthly subscription!).

### Which languages are supported?

Here is the list of the currently supported languages:

EN (English)
 FR (Français) IT (Italiano) ZH (汉语) DE (Deutsch) ES (Español) HI(
हिन्दी) JA (日本語) PT (Português NL (Nederlands) CA (Català) RU (Русский)

Which can be used has an option in the shortcode (or modified in your default settings):

    ```
    [yatmo-map lat=50.850340 lng=4.351710 language=NL]
    ```

### Can I use a custom image instead of a colored pin for a marker?

Yes, you can:

    ```
    [yatmo-map]
    [yatmo-marker lat=50.850340 lng=4.351710 iconurl="https://www.yourlink.com" iconwidth=32 iconheight=32]
    ```

### I need more functions!

Check our website (https://yatmo.com) and contact us to discuss about that!

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Simple Shortcode for Yatmo Map〉的開發相關工作。

參與者

 *   [ Yatmo SRL ](https://profiles.wordpress.org/yatmo/)

[將〈Simple Shortcode for Yatmo Map〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/yatmo-map)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/yatmo-map/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/yatmo-map/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/yatmo-map/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/yatmo-map/)。

## 變更記錄

#### 1.0

First Version.

## 中繼資料

 *  版本 **1.0.0**
 *  最後更新 **3 年前**
 *  啟用安裝數 **少於 10 次**
 *  已測試相容的 WordPress 版本 **6.3.10**
 *  語言
 * [English (US)](https://wordpress.org/plugins/yatmo-map/)
 * 標籤:
 * [map](https://tw.wordpress.org/plugins/tags/map/)[maps](https://tw.wordpress.org/plugins/tags/maps/)
   [Points of Interest](https://tw.wordpress.org/plugins/tags/points-of-interest/)
 *  [進階檢視](https://tw.wordpress.org/plugins/yatmo-map/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/yatmo-map/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/yatmo-map/reviews/)

## 參與者

 *   [ Yatmo SRL ](https://profiles.wordpress.org/yatmo/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/yatmo-map/)