Title: Extensions for Leaflet Map
Author: hupe13
Published: <strong>2021 年 3 月 23 日</strong>
Last modified: 2026 年 5 月 29 日

---

搜尋外掛

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

# Extensions for Leaflet Map

 由 [hupe13](https://profiles.wordpress.org/hupe13/) 開發

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

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

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

## 外掛說明

Extends the WordPress Plugin [Leaflet Map](https://wordpress.org/plugins/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](https://wordpress.org/plugins/wp-gpx-maps/).
 * and more functions.

### Included Leaflet Plugins

#### Leaflet Plugins

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

#### Included Font

 * [Font Awesome 6](https://fontawesome.com/download)

#### Documentation

Detailed documentation and examples in [German](https://leafext.de/) and [English](https://leafext.de/en/).

#### Thank you

Many thanks to everyone who found errors and provided ideas for new functions.

## 螢幕擷圖

 * [[
 * Track with elevation and speed profiles
 * [[
 * ExtraMarkers
 * [[
 * Grouping and Tree View
 * [[
 * Markercluster PlacementStrategies
 * [[
 * Tooltip on Hover
 * [[
 * Manage Leaflet Map files

## 安裝方式

 * First you need to install and configure the plugin [Leaflet Map](https://wordpress.org/plugins/leaflet-map/).
 * Then install this plugin.
 * Go to Settings – Leaflet Map – Extensions for Leaflet Map and get documentation
   and settings options.

## 常見問題集

### Is there a widget or other support for the editor?

 * Unfortunately both plugins – Leaflet Map and Extensions for Leaflet Map – only
   work with shortcodes.
 * If you have any questions please ask in the [forum](https://wordpress.org/support/plugin/extensions-leaflet-map/).

### My gpx file is not displayed!

 * Is the URL correct?
 * Does the webserver return the correct mime type (application/gpx+xml)?
    Put in
   your `.htaccess`: `AddType application/gpx+xml gpx RewriteRule .*\.gpx$ - [L,
   T=application/gpx+xml]

### It doesn’t work!

 * Are you using any caching plugin? Try to exclude at least these js files from
   caching:
    - /wp-content/plugins/extensions-leaflet-map/leaflet-plugins/leaflet-elevation-*
    - /wp-content/plugins/extensions-leaflet-map/leaflet-plugins/leaflet-gesture-
      handling-*
 * Are you using any plugin to comply with the GDPR/DSGVO? There might be a problem
   with that.
 * If you use a caching plugin and a GDPR/DSGVO plugin you need to distinguish whether
   the user has accepted the cookie or not.
 * Please ask in the [forum](https://wordpress.org/support/plugin/extensions-leaflet-map/)!

### Apropos GDPR/DSGVO

 * If you need a plugin for this try [DSGVO snippet for Leaflet Map and its Extensions](https://wordpress.org/plugins/dsgvo-leaflet-map/).
 * If you use [Complianz | GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
   see [here](https://complianz.io/leaflet-maps/).

## 使用者評論

![](https://secure.gravatar.com/avatar/2c1434dab19df1614b0c6abdc3a105c6a5828f691a0acbe425d21f991c995eb0?
s=60&d=retro&r=g)

### 󠀁[Amazing](https://wordpress.org/support/topic/amazing-4241/)󠁿

 [willpom](https://profiles.wordpress.org/willpom/) 2026 年 5 月 30 日

***** Plugin***** Support

![](https://secure.gravatar.com/avatar/85c9e7d5619ccd5088f0d4c716f950290807b3323267499a393fef2e98be0413?
s=60&d=retro&r=g)

### 󠀁[The best support](https://wordpress.org/support/topic/the-best-support-73/)󠁿

 [sanjb](https://profiles.wordpress.org/sanjb/) 2025 年 8 月 22 日

An excellent module with a top support ! Thanks a lot.

![](https://secure.gravatar.com/avatar/11027d12fe62e019b6c6542e2a36921ad2f9d65132d483df19503661e4a3fadc?
s=60&d=retro&r=g)

### 󠀁[Super responsive developer!](https://wordpress.org/support/topic/super-responsive-developer/)󠁿

 [splaquet](https://profiles.wordpress.org/splaquet/) 2025 年 8 月 4 日

One day I asked a question about one of the Leaflet plugins, the next day he completed
integrating and included customizations! I’ve had some responsive developers, but
this was pretty close to a “best ever” ranking!

![](https://secure.gravatar.com/avatar/b7f269408c579b2d187b9cf81ae5c48269d5218c4a3af453c46f49b160532ca3?
s=60&d=retro&r=g)

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-3450/)󠁿

 [pepcapdewp](https://profiles.wordpress.org/pepcapdewp/) 2024 年 3 月 27 日

I used to display my cycling tracks using Leaflet and several extensions, but this
plugin makes the work way easier!

![](https://secure.gravatar.com/avatar/4a4f15b180e4a0fbb0f21a2ff66db7fbb19bf6ce654455648b5254ededb47415?
s=60&d=retro&r=g)

### 󠀁[Incredible support!](https://wordpress.org/support/topic/incredible-support-133/)󠁿

 [Tomek](https://profiles.wordpress.org/typ/) 2024 年 1 月 20 日

Incredible support!

![](https://secure.gravatar.com/avatar/05dbc552e036e22669e9e6d8b4d5e3aeb43881753c4805a7b05a46fa5ed82a19?
s=60&d=retro&r=g)

### 󠀁[Great tool with excellent support](https://wordpress.org/support/topic/great-tool-with-excellent-support-2/)󠁿

 [larus-argentatus](https://profiles.wordpress.org/ecce-homo/) 2023 年 10 月 13 
日

The extensions open up lots of loads of useful possibilities for mapping, so a big
big thank you for creating, supporting users and continuing development. Keep up
the excellent work.

 [ 閱讀全部 24 則使用者評論 ](https://wordpress.org/support/plugin/extensions-leaflet-map/reviews/)

## 參與者及開發者

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

參與者

 *   [ hupe13 ](https://profiles.wordpress.org/hupe13/)

〈Extensions for Leaflet Map〉外掛目前已有 4 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/extensions-leaflet-map/contributors)
為這個外掛做出的貢獻。

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

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

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

## 變更記錄

### 5.1 / 260529

 * elevation: fixes on lineargradient (https://github.com/Raruto/leaflet-elevation/
   issues/306#issuecomment-4420914053)
 * listmarker: works on multiple maps on one page now
 * custom icons in media library for gpx, kml, geojson

### Previous

[Changelog](https://github.com/hupe13/extensions-leaflet-map-github/blob/main/CHANGELOG.md)

## 中繼資料

 *  版本 **5.1**
 *  最後更新 **2 天前**
 *  啟用安裝數 **3,000+**
 *  WordPress 版本需求 ** 6.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 8.2 或更新版本 **
 *  語言
 * [Dutch](https://nl.wordpress.org/plugins/extensions-leaflet-map/)、[English (US)](https://wordpress.org/plugins/extensions-leaflet-map/)、
   [German](https://de.wordpress.org/plugins/extensions-leaflet-map/)、[Spanish (Chile)](https://cl.wordpress.org/plugins/extensions-leaflet-map/)、
   及 [Spanish (Spain)](https://es.wordpress.org/plugins/extensions-leaflet-map/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/extensions-leaflet-map)
 * 標籤:
 * [geojson](https://tw.wordpress.org/plugins/tags/geojson/)[GPX](https://tw.wordpress.org/plugins/tags/gpx/)
   [hover](https://tw.wordpress.org/plugins/tags/hover/)[leaflet](https://tw.wordpress.org/plugins/tags/leaflet/)
   [marker](https://tw.wordpress.org/plugins/tags/marker/)
 *  [進階檢視](https://tw.wordpress.org/plugins/extensions-leaflet-map/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  24 個 5 星使用者評論     ](https://wordpress.org/support/plugin/extensions-leaflet-map/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/extensions-leaflet-map/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/extensions-leaflet-map/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/extensions-leaflet-map/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/extensions-leaflet-map/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/extensions-leaflet-map/reviews/#new-post)

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

## 參與者

 *   [ hupe13 ](https://profiles.wordpress.org/hupe13/)

## 技術支援

最近 2 個月解決的問題:

     總計 4 個問題，已解決 1 個

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