Plugin / GPX Viewer

Installation

Installation

(Deutsche Übersetzung siehe unten)

Installation and Settings:

  1. Upload the plugin files to the /wp-content/plugins/<my-plugin-name> directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the Plugins screen in WordPress
  3. Use the Settings->GPX Viewer screen to configure the plugin (MapQuest Key, Measure Units)

Uploading GPX files:

  • Goto GPX Files in the admin menu
  • Choose category for repository: Uploaded file will be stored in directory ~/wp-content/uploads/gpx/<mycategory>/.
  • Choose GPX file to upload
  • Optionally replace description of track (tag <name> in the GPX file)
  • Optionally smooth track during upload, i.e. reducing track points and smoothing elevation data
  • Optionally replace elevation data using MapQuest Service

Basic usage:

  • Calling the viewer for a specific GPX track:

    <?php 
        echo gpx_view(array('src'  => $filepath                $filepath = <absolute path>/wp-content/uploads/gpx/<mycategory>/<file>.gpx 
                        [, 'title' => $track_name]
                        [, 'color' => $track_color]
                        [, 'width' => $track_width] ));
    ?>
    
  • Shortcode to include the list of the GPX files for a given category into a WordPress-page. From this list a track can be selected and displayed.

    [gpx-view category="<mycategory>"]
    

    _
    _
    _
    (German)

Installation und Einstellungen:

  1. Entpackte Plugin-Datei in das Verzeichnis /wp-content/plugins/<my-plugin-name> hochladen oder direkt über die WordPress Plugins-Seite installieren
  2. Plugin über die Plugins-Seite in WordPress aktivieren
  3. In Einstellungen->GPX Viewer Plugin konfigurieren (MapQuest Key, Maßeinheiten)

Hochladen von GPX Dateien:

  • Im Verwaltungsmenu GPX Files aufrufen
  • Kategorie für die Ablage auswählen: Hochgeladene Datei wird im Verzeichnis ~/wp-content/uploads/gpx/<mycategory>/ abgelegt.
  • Hochzuladende GPX-Datei auswählen
  • Optional Beschreibung des Tracks ersetzen (Etikett <name> in der GPX-Datei)
  • Optional Track während des Hochladens glätten, d.h. Trackpunkte reduzieren und Höhendaten glätten
  • Optional Höhendaten mit Hilfe des MapQuest Service’s ersetzen

Anwendung:

  • Aufruf der Ansicht für einen bestimmten GPX-Track:

    <?php 
        echo gpx_view(array('src'  => $filepath                 <absolute path>/wp-content/uploads/gpx/<mycategory>/<track>.gpx
                        [, 'title' => $track_name]
                        [, 'color' => $track_color]
                        [, 'width' => $track_width] ));
    ?>
    
  • Shortcode zum Einbetten der GPX-Dateiliste einer bestimmten Kategorie in eine WordPress-Seite. Aus dieser Liste kann ein Track selektiert und angezeigt werden.

    [gpx-view category="<mycategory>"]
    

Ratings

0
0 reviews

Rating breakdown

Details Information

Version

1.0.3

First Released

04 Sep, 2018

Total Downloads

1,766

Wordpress Version

4.9 or higher

Tested up to:

5.2.4

Require PHP Version:

7.0.7 or higher

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.