
內容簡介
總結:透過此外掛,可以為 Toolset 地圖增加專業的 OpenStreetMap 功能,這些功能在核心外掛中缺少。這個外掛提供以下功能:
- 衛星視圖 - 在 Toolset 中無法使用,只需一個簡短代碼屬性即可啟用。
- 智能聚類 - 自動標記聚類,Toolset 中沒有提供。
- 自定義風格 - 灰階(銀色風格)效果,可控制強度。
- 圖層管理 - 獨立切換道路和標籤 - 基本的 Toolset 不可能實現。
問題與答案:
1. Toolset Maps 無法提供的功能有哪些?
- 答:衛星視圖、智能聚類、自定義風格和圖層管理。
2. 如何在地圖中啟用衛星視圖?
- 答:只需在代碼中添加 `satellite="on"` 屬性。
3. 什麼功能可以在 Advanced OSM 中找到但 Toolset Maps 中找不到?
- 答:自定義的標記聚類和灰階效果。
4. 如何調整地圖上的灰階效果強度?
- 答:可以使用 `grayscale` 屬性,範圍在 0.1 到 1 之間。
5. 如何在地圖上分開顯示道路和標籤?
- 答:使用 `roads="on"` 和 `labels="on"` 屬性來分別展示。
外掛標籤
開發者團隊
② 後台搜尋「Advanced OSM for Toolset Maps」→ 直接安裝(推薦)
原文外掛簡介
Supercharge Toolset Maps with professional OpenStreetMap features that go beyond the basic core implementation.
While Toolset Maps provides a foundation for OSM, this plugin enhances the experience with advanced visualization and data tools, now fully integrated with the WordPress Block Editor.
🧱 Gutenberg Blocks
Forget about complex shortcodes. Version 4.0 provides a modern, visual workflow:
* Advanced OSM Map Block: Configure satellite/topo views, clustering, and tracks visually in the sidebar.
* Dynamic Track Loader Block: Easily link Toolset File Fields (KML/GPX) to your maps within Query Loops or Content Templates.
🛰️ Satellite & Topography Views
Satellite: High-resolution Esri satellite imagery.
Topography: OpenTopoMap integration for outdoor and adventure maps.
Smart Toggles: Interactive front-end buttons to switch between layers.
🔵 Pro Clustering
Customize the cluster color to match your brand and set precise zoom thresholds for declustering.
📍 KML & GPX Support
Visualize tracks, routes, or shapes. Load files in three ways:
1. Media Library: Select multiple files directly from your WordPress media.
2. Direct URLs: Paste manual KML/GPX links.
3. Dynamic Fields: Use a Toolset File Field slug to pull tracks from your custom posts.
🎨 Custom Styling & Layers
Grayscale Mode: Apply “silver” or “muted” styles to standard maps.
Layer Management: Toggle roads and labels independently on satellite views.
Subfolder Compatible: Optimized for WordPress installations in subdirectories.
Check DEMOS
Check author page wp-customtypes.com
Shortcode Examples
Basic Map with Topo Button
[aotm-advanced-osm-map map-id=”map-1″ topo-button=”on”]
Satellite View with Roads
[aotm-advanced-osm-map map-id=”map-2″ satellite=”on” roads=”on”]
Dynamic Tracks via Custom Field
[aotm-advanced-osm-marker map-id=”map-4″ track-field=”my-gpx-field-slug”]
Full Shortcode Reference
[aotm-advanced-osm-map]
map-id: (Required) Must match your Toolset map ID.
satellite: “on” – Satellite as default layer.
topo: “on” – Topography as default layer.
satellite-button / topo-button: “on/off” – Toggle UI buttons.
cluster: “on” – Enable custom clustering.
cluster-color: Hex color (e.g., #f05a28).
zoom-cluster: Level where clustering turns off (default 12).
grayscale: 0.1-1 – Grayscale intensity.
labels/roads: “on” – Show overlays on satellite.
