The Aggpxtrack plugin provides a custom field.
This field offers the possibility to copy a track as a GPX file to the web server. In the frontend, this track is displayed on an Openstreetmap or a Mapbox map. If you like hiking or cycling and want to show your routes in an article, you can do this with this custom field.
The installation of the plugin takes place via the Joomla! Installer.
After the installation, the plugin is initially unpublished. It can only be used after publishing.
It is also necessary to allow the upload of GPX files with the MIME type application/xml in the options of the Media Manager.
An update is possible if the secret word is entered in the component and the installer plugin is activated.
Download the GPX-Datei
If you want, you can download the GPX file in the frontend. Simply set the DownloadLink option to YES in the CustomField options. In the front-end you will see a link below the map. If you click this link, the GPX file is downloaded.
You can choose the Tile Server. You can choose Google Maps, Openstreetmaps, Openstreetmaps.BlackandWhite, Thunderforest, OpenTopoMap or Mapbox. If you choose Mapbox, Thunderforest or Google Maps you have to insert your own access token. You can request this from the respective map provider. The license terms can also be viewed at the respective card provider.
You can choose which elements of your GPX track to display. By default, the three elements Track, Route and Waypoint are displayed. You can also specify the color of the line of the track. And last but not least, you can specify the icons user-defined. Here you can choose from all Font Awesome Icons. With custom icons, you can freely set the start icon, end icon and each waypoint icon. You can choose the icon image, a background color, a symbol color, and a custom class. You can also specify whether the icon image should rotate.
Additional Information of the GPX File
If your GPX file contains more information, you can display it below the map. In Custom Field options, select which information to display. You can choose Distance, Name of the track, Start time, Moving time, Total time, Moving pace, Moving speed, Total speed, Elevation (min), Elevation (max), Elevation (gain), Elevation (loss), Average heart rate and Average temperature.
The entry appears in the frontend below the map. Each entry has a CSS ID and can be created in the custom.css - or user.css - of your template.
You can also display the elevation profile for the GPX track on the map. The option is located at the bottom of the Custom Field options. If you activate the elevation profile, you will see additional options.
You can also show KML overlays, enable live tracking, and switch to front-end full-screen mode.