[WordPress] 外掛分享: Extensions for Leaflet Map

首頁外掛目錄 › Extensions for Leaflet Map
2,000+
安裝啟用
★★★★★
5/5 分(23 則評價)
12 天前
最後更新
71%
問題解決
WordPress 6.2+ PHP 8.1+ v4.14 上架:2021-03-22

內容簡介

這個 WordPress 外掛擴充了 Leaflet Map,並增加了 Leaflet 插件和其他功能。

使用的 Leaflet 插件與元素

leaflet-elevation、Leaflet.i18n:具備高程概要的軌跡
leaflet-gpxgroup、Leaflet.GeometryUtil:同一地圖上多條軌跡與其高程概要
L.control.layers:切換圖層
Leaflet-providers:提供各種圖層提供者的配置檔
Leaflet.Control.Opacity:將多個圖層設定為透明
Leaflet.markercluster:提供美觀的動畫標記群集功能
Leaflet.MarkerCluster.PlacementStrategies:實現將標記集群的子元素放置在新位置的方案
Leaflet.ExtraMarkers:加入更多形狀、顏色和 Semantic-ui 支援的 Awesome-Markers 的抄襲版本
Leaflet.FeatureGroup.SubGroup:創建包含其子圖層的圖層群組,通常用於通過 L.Control.Layers 動態添加/刪除 Leaflet.markercluster 的標記群集
Leaflet Control Search:搜尋層/GeoJSON 中符合自定屬性的標記/特徵控制
leaflet-choropleth:用於 Leaflet 的分區圖插件(基於值的顏色刻度)
leaflet.zoomhome:重設視圖
leaflet.fullscreen:簡單的 Leaflet 外掛,可將全屏按鈕添加到地圖中
Leaflet.GestureHandling:一個Leaflet 外掛,允許防止默認地圖滾動/觸摸行為

其他功能

列出 Leaflet 地圖中的檔案
懸停:

滑鼠懸停高亮 GPX、KML 或 GeoJSON 元素
當滑鼠懸停在標記、GPX、KML 或 GeoJSON 元素上時取得工具提示

隱藏標記:當 GPX 文件中的軌跡包含某些標記且不希望在地圖上顯示時使用它
從 WP GPX Maps 遷移至高程的選項

文件

詳細說明和範例(德文和英文)可到 這裡查閱。

外掛標籤

開發者團隊

⬇ 下載最新版 (v4.14) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Extensions for Leaflet Map」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Extends the WordPress Plugin Leaflet Map with Leaflet Plugins and other functions.
Functions

Create an elevation chart profile of a track. There are also acceleration, slope, speed and tempo chart profiles. You can also place multiple tracks on one map.

By default Leaflet Map uses tiles from openstreetmap.org or from the tile servers you configured. You can use more and switch between them.

Many markers on a map become confusing. You can cluster and shape them.

You can use Awesome markers.

You can group the elements on the map by criteria and show/hide them.

Create a “featured map”.

Create an overview map with geo-locations provided in the pages and posts.

Get a tooltip when hovering over an element.

You can design a choropleth map.

You can display the map in fullscreen mode.

Reset the map.

Gesture handling

Manage your files for Leaflet Map.

Help to migrate from WP GPX Maps.

and more functions.

Included Leaflet Plugins and fonts
Leaflet Plugins

leaflet-elevation: A Leaflet plugin that allows to add elevation profiles using d3js.
Leaflet.GeometryUtil
Leaflet.i18n: Internationalisation module for Leaflet plugins.
leaflet-rotate: A Leaflet plugin that allows to add rotation functionality to map tiles
Leaflet.AlmostOver: This plugin allows to detect mouse click and overing events on lines, with a tolerance distance.
@tmcw/togeojson: Convert KML, GPX, and TCX to GeoJSON.
D3: Data-Driven Documents
Leaflet-providers: An extension that contains configurations for various tile providers.
Leaflet.Control.Opacity: Makes multiple tile layers transparent.
Leaflet.markercluster: Provides Beautiful Animated Marker Clustering functionality.
Leaflet.MarkerCluster.PlacementStrategies: Styling Markerclusters.
Leaflet.ExtraMarkers: Shameless copy of Awesome-Markers with more shapes and colors.
Leaflet List Markers: A Leaflet Control for listing visible markers in the map.
Leaflet.FeatureGroup.SubGroup: Grouping of Leaflet elements by options and features.
Leaflet.Control.Layers.Tree: A Tree Layers Control for Leaflet.
Leaflet Control Search: Search Markers/Features location by option or custom property.
leaflet-choropleth: Choropleth plugin for Leaflet (color scale based on value).
leaflet.zoomhome: Provides a zoom control with a “Home” button to reset the view.
leaflet.fullscreen: Simple plugin for Leaflet that adds fullscreen button to your maps.
Leaflet.GestureHandling: A Leaflet plugin that allows to prevent default map scroll/touch behaviours.
turf: Advanced geospatial analysis for browsers and Node.js

Font

Font Awesome 6

Documentation
Detailed documentation and examples in German and English.
Thank you
Many thanks to everyone who found errors and provided ideas for new functions.

延伸相關外掛

文章
Filter
Mastodon