You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Eric van der Vlist 7132bc4b43 Dirty update to support displaying images without GPX track 2 years ago
ThirdParties v 1.7.00 3 years ago
assets v 1.7.00 3 years ago
css v 1.7.00 3 years ago
img Beta version without google maps 4 years ago
js v 1.7.00 3 years ago
languages v 1.7.00 3 years ago
.eslintrc Adding missing files 2 years ago
.gitignore .gitignore 2 years ago
.mversionrc Adding missing files 2 years ago
Chart.min.js Adding missing files 2 years ago
Control.FullScreen.css Adding missing files 2 years ago
Control.FullScreen.js Adding missing files 2 years ago
LICENSE Adding missing files 2 years ago
Leaflet.Photo.css Adding missing files 2 years ago
Leaflet.Photo.js Adding missing files 2 years ago
MarkerCluster.Default.css Adding missing files 2 years ago
MarkerCluster.css Adding missing files 2 years ago
README.md Doc 2 years ago
WP-GPX-Maps.js Adding missing files 2 years ago
admin-style.css Adding missing files 2 years ago
backToCenter.png Adding missing files 2 years ago
bootstrap-table.min.css Adding missing files 2 years ago
bootstrap-table.min.js Adding missing files 2 years ago
bower.json Adding missing files 2 years ago
exitFullFcreen.png Adding missing files 2 years ago
expand.png Adding missing files 2 years ago
goFullScreen.png Adding missing files 2 years ago
hideImages.png Adding missing files 2 years ago
icon-128x128.png Adding missing files 2 years ago
icon-256x256.png Adding missing files 2 years ago
icon-fullscreen-2x.png Adding missing files 2 years ago
icon-fullscreen.png Adding missing files 2 years ago
icon.svg Adding missing files 2 years ago
index.html Adding missing files 2 years ago
layers-2x.png Adding missing files 2 years ago
layers.png Adding missing files 2 years ago
leaflet-src.esm.js Adding missing files 2 years ago
leaflet-src.esm.js.map Adding missing files 2 years ago
leaflet-src.js Adding missing files 2 years ago
leaflet-src.js.map Adding missing files 2 years ago
leaflet.css Adding missing files 2 years ago
leaflet.js Adding missing files 2 years ago
leaflet.js.map Adding missing files 2 years ago
leaflet.markercluster-src.js Adding missing files 2 years ago
leaflet.markercluster-src.js.map Adding missing files 2 years ago
leaflet.markercluster.js Adding missing files 2 years ago
leaflet.markercluster.js.map Adding missing files 2 years ago
mColorPicker_min.js Adding missing files 2 years ago
marker-icon-2x.png Adding missing files 2 years ago
marker-icon.png Adding missing files 2 years ago
marker-shadow.png Adding missing files 2 years ago
package.json Adding missing files 2 years ago
readme.txt Adding missing files 2 years ago
redo.png Adding missing files 2 years ago
screenshot-1.jpg 11 years ago
screenshot-2.jpg 11 years ago
screenshot-3.jpg 10 years ago
screenshot-4.jpg 10 years ago
screenshot-5.jpg 10 years ago
screenshot-6.jpg 10 years ago
showImages.png Adding missing files 2 years ago
users.txt Adaptation to gitea 2 years ago
wp-gpx-maps-bg_BG.mo Adding missing files 2 years ago
wp-gpx-maps-bg_BG.po Adding missing files 2 years ago
wp-gpx-maps-ca.mo Adding missing files 2 years ago
wp-gpx-maps-ca.po Adding missing files 2 years ago
wp-gpx-maps-cs_CZ.mo Adding missing files 2 years ago
wp-gpx-maps-cs_CZ.po Adding missing files 2 years ago
wp-gpx-maps-de_DE.mo Adding missing files 2 years ago
wp-gpx-maps-de_DE.po Adding missing files 2 years ago
wp-gpx-maps-es_ES.mo Adding missing files 2 years ago
wp-gpx-maps-es_ES.po Adding missing files 2 years ago
wp-gpx-maps-fr_FR.mo Adding missing files 2 years ago
wp-gpx-maps-fr_FR.po Adding missing files 2 years ago
wp-gpx-maps-hu_HU.mo Adding missing files 2 years ago
wp-gpx-maps-hu_HU.po Adding missing files 2 years ago
wp-gpx-maps-it_IT.mo Adding missing files 2 years ago
wp-gpx-maps-it_IT.po Adding missing files 2 years ago
wp-gpx-maps-ja_JP.mo Adding missing files 2 years ago
wp-gpx-maps-ja_JP.po Adding missing files 2 years ago
wp-gpx-maps-nb_NO.mo Adding missing files 2 years ago
wp-gpx-maps-nb_NO.po Adding missing files 2 years ago
wp-gpx-maps-nl_NL.mo Adding missing files 2 years ago
wp-gpx-maps-nl_NL.po Adding missing files 2 years ago
wp-gpx-maps-pl_PL.mo Adding missing files 2 years ago
wp-gpx-maps-pl_PL.po Adding missing files 2 years ago
wp-gpx-maps-pt_BR.mo Adding missing files 2 years ago
wp-gpx-maps-pt_BR.po Adding missing files 2 years ago
wp-gpx-maps-ru_RU.mo Adding missing files 2 years ago
wp-gpx-maps-ru_RU.po Adding missing files 2 years ago
wp-gpx-maps-sv_SE.mo Adding missing files 2 years ago
wp-gpx-maps-sv_SE.po Adding missing files 2 years ago
wp-gpx-maps-tr_TR.mo Adding missing files 2 years ago
wp-gpx-maps-tr_TR.po Adding missing files 2 years ago
wp-gpx-maps.php Dirty update to support displaying images without GPX track 2 years ago
wp-gpx-maps.pot Adding missing files 2 years ago
wp-gpx-maps_admin.php v 1.7.00 3 years ago
wp-gpx-maps_admin_settings.php v 1.7.00 3 years ago
wp-gpx-maps_admin_tracks.php v 1.7.00 3 years ago
wp-gpx-maps_help.php v 1.7.00 3 years ago
wp-gpx-maps_utils.php v 1.7.00 3 years ago
wp-gpx-maps_utils_nggallery.php Typo fixing #1 2 years ago

README.md

WP GPX Maps

Contributors: bastianonm, Stephan Klein, Michel Selerin, TosattoSimonePio, Kniebremser Donate link: https://www.paypal.com/cgi-bin/webscr?cmd_s-xclick&hosted_button_id=8VHWLRW6JBTML Tags: maps, gpx, gps, graph, chart, leaflet, track, garmin, image, nextgen-gallery, nextgen, exif, OpenStreetMap, OpenCycleMap, Hike&Bike, heart rate, heartrate, cadence Requires at least: 4.6.0 Tested up to: 5.2.2 Requires PHP: 5.6.20 Stable tag: 1.7.00

Draws a GPX track with altitude graph. You can also display your nextgen gallery images in the map.

Description

This plugin has, as input, the GPX file with the track you've made and as output it shows the map of the track and an interactive altitude graph (where available).

Fully configurable:

  • Custom colors
  • Custom icons
  • Multiple language support

Supported charts:

  • Altitude
  • Speed
  • Heart rate
  • Temperature
  • Cadence
  • Grade

NextGen Gallery Integration:

Display your NextGen Gallery images inside the map! Even if you don't have a GPS camera, this plugin can retrive the image position starting from the image date and your GPX file.

Post Attachments Integration:

This version is extended by: <a href"https://klein-gedruckt.de/2015/03/wordpress-plugin-wp-gpx-maps/" target="_blank" rel="noopener noreferrer">Stephan Klein and supports displaying all images attached to a post without using NGG.

Try this plugin: <a href"https://devfarm.it/wp-gpx-maps-demo/" target="_blank" rel="noopener noreferrer">https://devfarm.it/wp-gpx-maps-demo/

Support:

If you need help, please use: <a href"http://www.devfarm.it/forums/forum/wp-gpx-maps/" target="_blank" rel="noopener noreferrer">www.devfarm.it Support Forum

Would you like to help fix bugs or further develop the plugin? On <a href"https://github.com/devfarm-it/wp-gpx-maps" target="_blank" rel="noopener noreferrer">Github you can contribuite easly with your code.

Translations:

Translators are welcome to contribute to the plugin. Please use the <a href"https://translate.wordpress.org/projects/wp-plugins/wp-gpx-maps/)" target="_blank" rel="noopener noreferrer">WordPress translation website.

The language files in the plugin contain 18 translatable texts for 13 languages:

  • Catalan ca
  • Dutch nl_NL
  • English (default)
  • French fr_FR
  • Hungarian hu_HU
  • Italian it_IT
  • Norwegian nb_NO
  • Polish pl_PL
  • Portuguese (Brazilian) pt_BR
  • Russian ru_RU
  • Spanish es_ES
  • Swedish sv_SE
  • Turkish tr_TR
  • Bulgarian bg_BG
  • Slovak cs_CZ
  • Norwegian nb_NO
  • Japanese ja_JP

(Many thanks to all guys who helped me with the translations)

Currently are 230 texts are translatable in the plugin.

With your help, the plugin can be translated into any language. For updating the language file you no longer need to wait for a new version of the plugin. Are 95% WordPress generates a new language file for your language. If the translation is available via WP Translate, the language file will be deleted in the next version of the plugin. Please also help with the translation of the readme. The more languages ​​that are available, the wider the spread of the plugin will be.

Supported GPX namespaces are:

  1. http://www.topografix.com/GPX/1/0

  2. <a href"http://www.topografix.com/GPX/1/1" target="_blank" rel="noopener noreferrer">www.topografix.com/GPX/1/1

  3. http://www.garmin.com/xmlschemas/GpxExtensions/v3

  4. http://www.garmin.com/xmlschemas/TrackPointExtension/v1

Thanks to: <a href"http://www.securcube.net/" target="_blank" rel="noopener noreferrer">www.securcube.net, www.devfarm.it

Icons made by <a href"https://www.freepik.com/" target="_blank" rel="noopener noreferrer">Freepik from www.flaticon.com is licensed by Creative Commons BY 3.0

Installation

  1. Use the classic wordpress plugin installer or copy the plugins folder to the /wp-content/plugins/ directory

  2. Activate the plugin through the 'Plugins' menu in WordPress

  3. Add the shortcode [sgpx gpx">relative path to your gpx<"] or [sgpx gpx=">http://somesite.com/files/yourfile.gpx<"]

Frequently Asked Questions

Which shortcode attributes are available?

You can use the following shortcodes:

  1. gpx: Relative path to the GPX file
  2. width: Map width (value in percent)
  3. mheight: Map height (value in pixeln)
  4. gheight: Graph height (value in pixeln)
  5. skipcache: Do not use cache. If TRUE might be very slow (default is false)
  6. download: Allow users to download your GPX file (default is false)
  7. summary: Print summary details of your GPX track (default is false)
  8. summarytotlen: Print total distance in summary table (default is false)
  9. summarymaxele: Print max elevation in summary table (default is false)
  10. summaryminele: Print min Elevation in summary table (default is false)
  11. summaryeleup: Print total climbing in summary table (default is false)
  12. summaryeledown: Print total descent in summary table (default is false)
  13. summaryavgspeed: Print average Speed in summary table (default is false)
  14. summarytotaltime: Print total time in summary table (default is false)
  15. mtype: Map available types are: HYBRID, ROADMAP, SATELLITE, TERRAIN, OSM1 (Open Street Map), OSM2 (Open Cycle Map), OSM4 (Open Cycle Map - Transport), OSM5 (Open Cycle Map - Landscape), OSM6 (MapToolKit - Terrain), OSM7 (Open Street Map - Humanitarian map style), OSM 9 (Hike & Bike), OSM10 (Open Sea Map)
  16. mlinecolor: Map line color (default is #3366cc)
  17. zoomonscrollwheel: Zoom on map when mouse scroll wheel (default is false)
  18. waypoints: Print the gpx waypoints inside the map (default is false)
  19. startIcon: Start track icon
  20. endIcon: End track icon
  21. currentIcon: Current position icon (when mouse hover)
  22. waypointicon: Custom waypoint icon
  23. showele: Show elevation data inside the chart (default is true)
  24. uom: Distance/altitude possible unit of measure (0 meters, 1 = feet/miles, 2 = meters/kilometers, 3 = meters/nautical miles, 4 = meters/miles, 5 = feet/nautical miles)
  25. glinecolor: Altitude line color (default is #3366cc)
  26. chartFrom1: Minimun value for altitude chart
  27. chartTo1: Maxumin value for altitude chart
  28. showspeed: Show speed inside the chart (default is false)
  29. glinecolorspeed: Speed line color (default is #ff0000)
  30. uomspeed: Unit of measure for speed (0 m/s, 1 = km/h, 2 = miles/h, 3 = min/km, 4 = min/miles, 5 = Nautical Miles/Hour (Knots), 6 = min/100 meters)
  31. chartFrom2: Minimun value for speed chart
  32. chartTo2: Maxumin value for speed chart
  33. showhr: Show heart rate inside the chart (default is false)
  34. glinecolorhr: Heart rate line color (default is #ff77bd)
  35. showatemp: Show temperature inside the chart (default is false)
  36. glinecoloratemp: Temperature line color (default is #ff77bd)
  37. showcad: Show cadence inside the chart (default is false)
  38. glinecolorcad: Cadence line color (default is #beecff)
  39. showgrade: Show grade inside the chart (default is false)
  40. glinecolorgrade: Grade line color (default is #beecff)
  41. nggalleries: NextGen Gallery id or a list of Galleries id separated by a comma
  42. ngimages: NextGen Image id or a list of Images id separated by a comma
  43. attachments: Show all images that are attached to post (default is false)
  44. dtoffset: The difference (in seconds) between your gpx tool date and your camera date
  45. pointsoffset: Skip points closer than XX meters (default is 10)
  46. donotreducegpx: Print all the point without reduce it (default is false)

What happening if I've a very large GPX files?

This plugin will print a small amout of points to speedup javascript and pageload.

Is it free?

Yes!

Screenshots

  1. Simple GPX
  2. GPX with waypoints
  3. Admin area - List of tracks
  4. Admin area - Settings
  5. Altitude & Speed
  6. Altitude & Speed & Heart rate

Changelog

X.X.XX

  • Added: PHP version notices, WordPress 5.3 requires PHP 5.6.20
  • Added: Missing entries for add and delete options
  • Changed: Style for output moved in a seperate file
  • Tweak: Small design optimizations in the admin area
  • Tweak: Small code adjustments (WPCS)
  • Upgrade: bootstrap-table to 1.13.2
  • Removed: german language file (now over translate.wordpress.org)

1.7.00

  • Added: Authors can upload GPX tracks in a folder called as your user name, inside [../wp-upload dir/gpx/[your user name] (thanks to wildcomputations)
  • Added: Authors an Admins can see the current values for shortcodes in help tab
  • Added: Button to instant copy the shortcode of the selected GPX file in the tab track
  • Added: different size logos for the plugin store (icon.svg, icon128x128.png and icon256x256.png) [inside ../plugins/wp-gpx-maps/assets]
  • Changed: Settings tab is for non-Admin users is not more visible
  • Tweak: Help tab is easier to read
  • Tweak: Plugin is now complete translatable (Backend + Frontend)
  • Tweak: WordPress coding standards
  • Upgrade: Leaflet to 1.5.1
  • Upgrade: leaflet.fullscreen to 1.4.5
  • Upgrade: Chart.min.js to 2.8.0

1.6.07

  • resolve admin error

1.6.06

  • Added average values under the graph (thanks to cyclinggeorgian)

1.6.04

  • NGG gallery is working
  • Getting HR, Cad and Temp working again (thanks to cyclinggeorgian)
  • Fix javascript errors
  • Fix multiple traks gpx

1.6.03

  • Fix syntax error causing graph not to display (thanks to nickstabler)

1.6.02

  • Resolved errors with start and end icons

1.6.01

  • Removed Gogole maps. Leafletjs instead.
  • -- NextGen Gallery is not working, due next gen image format changed -- I'll fix soon

1.5.05

  • renamed javascript functions to avoid collision with other plugins
  • reduced chart line thickness

1.5.04

  • fix uom
  • fix file not found

1.5.03

  • fix random error

1.5.02

  • Security improvements

1.5.01

  • Improved security
  • Included javascript
  • Multiple file upload
  • Implemented sorting in file list
  • Renamed internal function to improve wp compatibility

1.5.00

1.3.16

  • Added Norwegian nb_NO translation (thanks to thordivel)
  • Added Japanese ja_JP translation (thanks to dentos)

1.3.15

  • Switched to HTTPS where possible (thanks to delitestudio)

1.3.14

  • Added Thunderforest Api Key on settings: for OpenCycleMap

1.3.13

  • Added google maps api key on settings
  • Removed parameter 'sensor' on google maps js
  • Added unit of measure of speed for swimmers: min/100 meters

1.3.12

1.3.10

1.3.9

  • Retrieve waypoints in JSON, possibility to add a custom marker (Changed by Michel Selerin)

1.3.8

  • Improved Google Maps visualization

1.3.7

1.3.6

  • Fix: remote file download issue
  • Fix: download file link with WPML
  • Improved cache with filetime (thanks to David)

1.3.5

  • Fix: Garmin cadence again
  • Fix: WP Tabs

1.3.4

  • Fix: Garmin cadence
  • Infowindows closing on mouseout

1.3.3

  • Add feet/Nautical Miles units (thanks to elperepat)
  • Update OpenStreetMaps Credits
  • WP Tabs fix

1.3.2

  • fix: left axis not visible (downgrade highcharts to v3.0.10)
  • fix: fullscreen map js error

1.3.1

  • fix: http/https javascript registration
  • fix: full screen map css issue

1.3.0

  • Speed improvement
  • Rewritten js classes
  • Added Temperature chart
  • Added HTML5 Gps position (you can now follow the gpx with your mobile phone/tablet/pc)

1.2.6

  • Speed improvement

1.2.5

  • Added Catalan translation, thanks to Edgar
  • Updated Spanish translation, thanks to Dani
  • Added different types of distance: Normal, Flat (don't consider altitude) and Climb distance

1.2.4

  • Added Bulgarian translation, thanks to Svilen Savov
  • Added possibility to hide the elevation chart

1.2.2

  • Smaller map type selector
  • New map: MapToolKit - Terrain
  • Fix: Google maps exception for NextGen Gallery

1.2.1

  • Fix: NextGen Gallery 1.9 compatibility

1.2.0

  • NextGen Gallery 2 support
  • NextGen Gallery Pro support

1.1.46

  • Added meters/miles chart unit of measure
  • Added Russian translation, thanks to G.A.P

1.1.45

  • Added nautical miles as distance (Many thanks to Anders)

1.1.44

  • Added Chart zoom feature
  • Some small bug fixes

1.1.43

  • Added Portuguese (Brazilian) translation, thanks to André Ramos
  • new map: Open Cycle Map - Transport
  • new map: Open Cycle Map - Landscape

1.1.42

  • qTranslate compatible

1.1.41

  • Added Polish translation, thanks to Sebastian
  • Fix: Spanish translation
  • Minor javascript improvement

1.1.40

  • Improved italian translation
  • Added grade chart (beta)

1.1.39

  • Added French translation, thanks to Hervé
  • Added Nautical Miles per Hour (Knots) unit of measure

1.1.38

  • Fix: garmin gpx cadence and heart rate
  • Updated Turkish translation, thanks to Edip
  • Added Hungarian translation, thanks to Tami

1.1.36

  • Even Editor and Author users can upload their own gpx. Administrators can see all the administrators gpx. The other users can see only their uploads

1.1.35

  • Fix: In the post list, sometime, the maps was not displaying correctly ( the php rand() function was not working?? )
  • Various improvements for multi track gpx. Thanks to GPSracks.tv
  • Summary table is now avaiable even without chart. Thanks to David

1.1.34

  • 2 decimals for unit of measure min/km and min/mi
  • translation file updated (a couple of phrases added)
  • File list reverse order (from the newer to the older)
  • nggallery integration: division by zero fixed

1.1.33

  • Decimals reducted to 1 for unit of measure min/km and min/mi
  • map zoom and center position is working with waypoints only files
  • automatic scale works again (thanks to MArkus)

1.1.32

  • You can exclude cache (slower and not recommended)
  • You can decide what show in the summary table
  • German translation (thanks to Ali)

1.1.31

  • Fixed fullscreen map image slideshow

1.1.30

  • Multi track gpx support
  • Next Gen Gallery images positions derived from date. You can adjust the date with the shortcode attribute dtoffset
  • If you set Chart Height (shortcode gheight) 0 means hide the graph
  • Fix: All images should work, independent from browser cache

1.1.29

  • Decimal separator is working with all the browsers
  • minutes per mile and minutes per kilometer was wrong

1.1.28

  • Decimal and thousand separator derived from browser language
  • Added summary table (see settings): Total distance, Max elevation, Min elevation, Total climbing, Total descent, Average speed
  • Added 2 speed units of measure: minutes per mile and minutes per kilometer

1.1.26

  • Multilanguage implementation (only front-end). I've implemented the italian one, I hope somebody will help me with other languages..
  • Map Full screen mode (I'm sure it's not working in ie6. don't even ask!)
  • Added waypoint custom icon

1.1.25

  • Added possibility to download your gpx

1.1.23

  • Security fix, please update!

1.1.22

  • enable map zoom on scroll wheel (check settings)
  • test attributes in get params

1.1.21

  • google maps images fixed (templates with bad css)
  • upgrade to google maps 3.9

1.1.20

1.1.19

  • include jQuery if needed

1.1.17

  • Remove zero values from cadence and heart rate charts
  • nextgen gallery improvement

1.1.16

  • Cadence chart (where available)
  • minor bug fixes

1.1.15

  • migration from google chart to highcharts. Highcharts are much better than google chart! This is the base for a new serie of improvements. Stay in touch for the next releases!
  • heart rate chart (where available)

1.1.14

  • added css to avoid map bars display issue

1.1.13

  • added new types of maps: Open Street Map, Open Cycle Map, Hike & Bike.
  • fixed nextgen gallery caching problem

1.1.12

  • nextgen gallery display bug fixes

Upgrade Notice