GPXpress

Plugin Banner

GPXpress

by davidkeen

Download
Description

This plugin uses the Leaflet JavaScript library and tiles from the Open MapQuest project to display beautiful maps of GPX tracks.

http://davidkeen.github.com/gpxpress/

Credits

Icons from the Map Icons Collection.

  1. Extract the zip file and drop the contents in the wp-content/plugins/ directory of your WordPress installation.
  2. Activate the plugin from the Plugins page.
  1. Example post with map.

    Example post with map.

  2. Settings screen.

    Settings screen.

How do I add a map to a post?

  1. Insert the [gpxpress] shortcode into your post where you want to display the map. Use the ‘src’ parameter to specify the URL of the GPX track you want to display.
  2. Use the optional ‘width’ and ‘height’ parameters to give the width and height of the map in pixels.
  3. Use the optional ‘showstart’ and ‘showfinish’ parameters to display a marker at the start and/or finish of a track.

Eg: [gpxpress src=http://www.example.com/my_file.gpx width=600 height=400 showstart=true showfinish=false].

You can set the default values for track colour, width, height and start/finish markers in the plugin settings.

I don’t have a GPX file handy, do you have one I can try?

If you just insert the [gpxpress] shortcode without any ‘src’ parameter a default track will be used.

How can I report a bug/feature request?

Create an issue in the GitHub issue tracker.

1.3

  • Enhancement: Update leaflet library to 0.7.
  • Enhancement: Add aerial map layer.
  • Enhancement: Only include javascript on pages that use the shortcode.

1.2

  • Enhancement: Allow multiple maps per page.

1.1

  • Enhancement: Add colour picker for path colour.
  • Enhancement: Add default demo.gpx for when src is not specified in [gpxpress] shortcode.
  • Enhancement: Add options for showing start and finish markers.
  • Bug Fix: Fix option handling code for upgrades.

1.0

  • Enhancement: Add GPX mime type to allowed uploads.
  • Enhancement: Add default width and height options.
  • Enhancement: Make default track colour magenta.

0.1

  • Initial release.
Back to top