[WordPress] 外掛分享: Custom Post Type to Map Store

首頁外掛目錄 › Custom Post Type to Map Store
WordPress 外掛 Custom Post Type to Map Store 的封面圖片
40+
安裝啟用
★★★★★
5/5 分(1 則評價)
2099 天前
最後更新
問題解決
WordPress 4.0+ PHP 7.0+ v1.1.0 上架:2020-05-19

內容簡介

此外掛允許你:

從樣本文章中的座標產生GEOJson資訊流。
透過簡碼在地圖上顯示此資訊流。

功能

從文章類型進行映射以產生所有文章的 GeoJson 資訊流。
公開此 GeoJson 資訊流於 WordPress Rest-API。
有可能為地圖標記彈出視窗做出範本。
座標讀取相容性為:

文字欄位
一個ACF Google地圖欄位
ACF OpenStreetMap Fields擴充套件的ACF欄位

透過簡碼顯示所有點的地圖。
加入 Open Street Map 至快取中。

掛鉤
標記內容

你可以更細緻地自訂標記彈出視窗內容。

範例:

<?php
function bindPopup_content_filter( $bindPopup_content, $post_id ) {
return "Yeahhhhh";
}

add_filter( 'cpt_to_map_store_bindPopup_content', 'bindPopup_content_filter', 10, 2 );
?>

快取

此外掛使用OpenStreetMap快取代理伺服器以將地圖瓦片存入快取中。

翻譯

英文– 預設語言,始終包含
法文

重要資訊!

玩得開心!

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Custom Post Type to Map Store」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The plugin allows to :

Generate a GEOJson feed from coordinates recorded in the sample posts.
Display this feed on a map with a shortcode.

Features

Mapping from a Post Type to generate a GeoJson feed of all posts.
Exposure this Geojson feeds on the WordPress Rest-API
Possibility to make a template for the map markers popup
Coordinate reading compatibility for :

a text field
an ACF Google Map field
an ACF field for the ACF OpenStreetMap Fields extension

Displaying a map by shortcode of all points.
Open Street Map put in cache

Hook
The marker content
You can customize more finely the marker popup content.
Example:

Cache
This plugin works with Tiles Proxy for OpenStreetMap for put in cache the map tiles.
Translations

English – default, always included
French

Important Information !
Have fun

延伸相關外掛

文章
Filter
Mastodon