
內容簡介
此外掛允許你:
從樣本文章中的座標產生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快取代理伺服器以將地圖瓦片存入快取中。
翻譯
英文– 預設語言,始終包含
法文
重要資訊!
玩得開心!
外掛標籤
開發者團隊
② 後台搜尋「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
