跳到内容

WP GPX Maps – GPX, FIT & KML maps with elevation profile

v1.16.01

bastianonm · 2011年12月14日 上架

Show your hikes, rides and runs from GPX, FIT, TCX or KML files on an interactive map with elevation profile, charts and route summary.

正在使用
4,000+
评分
4.2 / 5
累计下载
17 万
最近更新
2026年11月24日
61 条评价需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

截图

Track colored by grade on a MapBox Outdoors map with 3D terrain, distance markers, elevation and speed chart, and summary.
Track colored by grade on a MapBox Outdoors map with 3D terrain, distance markers, elevation and speed chart, and summary.
3D view of a trail on MapBox Satellite Streets.
3D view of a trail on MapBox Satellite Streets.
The same trail with the MapBox Dark and Light styles.
The same trail with the MapBox Dark and Light styles.
OpenStreetMap, no API key needed: elevation and speed chart and full summary with moving time.
OpenStreetMap, no API key needed: elevation and speed chart and full summary with moving time.
Two GPX files in one map, one color per file, with a continuous elevation profile.
Two GPX files in one map, one color per file, with a continuous elevation profile.
Track colored by speed: moving on the chart shows altitude, speed and grade, and the position on the map.
Track colored by speed: moving on the chart shows altitude, speed and grade, and the position on the map.
The GPX Map block in the block editor: live preview and options in the sidebar.
The GPX Map block in the block editor: live preview and options in the sidebar.

WP GPX Maps turns a GPX, FIT, TCX or KML file into an interactive map and charts: upload the track, add the GPX Map block (or the [sgpx] shortcode) and your readers get the route, the elevation profile and the statistics of your hike, ride or run.

See how it works in under three minutes: the block, the shortcode, the charts, 3D maps and activities.

Fast, also with very long tracks

The map code is loaded only on the pages that show a map, and every map starts when it gets near the screen. Even long-distance trails open in a second or two. See them live:

Maps

  • OpenStreetMap and other free maps (no account needed): OpenStreetMap, OpenTopoMap, CyclOSM, Humanitarian, OpenSeaMap, and the Thunderforest maps (OpenCycleMap, Outdoors, Transport, Landscape) with a free Thunderforest API key.
  • MapLibre (recommended), free and without an API key: vector maps (OpenFreeMap Liberty, Bright, Positron), OpenStreetMap and OpenTopoMap, 3D terrain, fog and sky, shaded relief and a tilted 3D view, or your own style (MapTiler, Stadia Maps…).
  • MapBox with your own API key: Outdoors, Streets, Satellite, Satellite Streets, Light, Dark, Standard and custom styles, 3D terrain, fog and a tilted 3D view (pitch, bearing).
  • Track colored by grade (blue descent, green flat, yellow to red climb), speed, heart rate or elevation, with a legend.
  • Several GPX files in one map (gpx="a.gpx,b.gpx"), one color per file with a legend.
  • Activities: tag your routes as hiking, stroller-friendly, mountain bike, climbing, snowshoeing and more (or your own activities, each with an emoji icon). Every activity has its own page on the site, and the site search finds routes by activity.
  • Soft edges: the map can fade into the page instead of ending with a hard border (fadeedges).
  • Start / finish markers, distance markers every N km or miles, waypoints with popups, full screen, photos from NextGEN Gallery or from the images attached to the post.

Charts

  • Filled elevation profile, speed, heart rate, cadence, temperature and grade.
  • Move the mouse on the chart and the position is shown on the map; move it on the track and the point is shown in the chart.
  • GPS noise is smoothed out: grade averaged over about 100 m, speed without single spikes.
  • Meters, kilometers, feet, miles or nautical miles; speed in km/h, mph, min/km, min/mile, knots or min/100 m.

Summary

Total distance, maximum and minimum elevation, total climbing and descent, average and maximum speed, maximum grade, average heart rate, cadence and temperature, total time and moving time (pauses excluded).

Readable by AI assistants, search engines and screen readers

A map drawn by JavaScript is invisible to ChatGPT, Perplexity, Google AI Overviews and other AI assistants, to search engines and to screen readers: they read the text of the page, not the map. WP GPX Maps also describes every track in the page itself:

  • Text description of the route, e.g. “Map of the route Sentiero 157: 4.38 km, 145 m of climbing and 376 m of descent, elevation between 1,315 m and 1,580 m, time 01:54:36. It starts at … and ends at …”, linked to the map for screen readers. Not shown on the page by default, or shown under the map (description="visible").
  • Structured data (schema.org TouristTrip in JSON-LD) with distance, climbing and descent, highest and lowest point, time, the line of the route, the start and finish and the waypoints shown on the map (each with its coordinates and a link to OpenStreetMap), so AI assistants and search engines can answer questions like “how long is this hike?” with the right numbers. The track file is linked only when you allow its download.
  • Both can be turned off in Settings > WP GPX Maps or for one map (description="false", structureddata="false"), and changed by developers with the wpgpxmaps_track_description and wpgpxmaps_structured_data filters.

Easy to use

  • GPX Map block for the block editor with live preview: pick an uploaded GPX file from a list and set every option in the sidebar.
  • GPX Map widget for Elementor, with the same options and a live preview in the Elementor editor.
  • Works with WP Travel Engine: add the track of a trek or a tour in the trip editor and the trip page shows the map and elevation profile in the Map tab, plus distance, climbing and highest point in the trip facts. One file per day for trips in stages.
  • Upload your track files in the Media Library, like images: they are organized by month, searchable and attached to the post. Or keep them in Settings > WP GPX Maps > Tracks (editors and authors can upload their own files).
  • Every option has a default in the settings, so a simple [sgpx gpx="/wp-content/uploads/gpx/my-track.gpx"] is enough.
  • GPX 1.0 and 1.1 (Garmin and Strava extensions: heart rate, cadence, temperature), FIT files from Garmin, Wahoo and other devices, TCX and KML / KMZ, multi-track files.
  • Fast pages: the map style is loaded only on the pages with a map, and every map downloads its code only when it gets near the screen (lazy load). Cache of the processed tracks, works with PHP 7.4 to 8.4.

WP GPX Maps Pro (coming soon)

A separate add-on for sites whose readers go out on the routes. The free plugin keeps every feature: Pro adds new ones.

  • Offline maps and navigation: readers save the route on the phone and follow it in the mountains without signal, with distance and climb left and an off-route warning.
  • Stages planner: the route split in days that end at the huts along the way.
  • Weather and sun along the route at the passage times, real sunrise and sunset.
  • Story maps that follow the text as readers scroll, and a map of all your routes with filters by activity, distance and climb.
  • Estimated times (CAI times for hiking), MTB difficulty, steep slopes for ski touring, an image for social media and more.

Compare Free and Pro, and get notified at launch with a launch discount.

Support and development

Icons made by Freepik from www.flaticon.com, licensed under CC BY 3.0.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums