Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

GPXpress

Apraksts

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.

Ekrānuzņēmumi

  • Example post with map.
  • Settings screen.

Uzstādīšana

  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.

BUJ

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.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“GPXpress” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “GPXpress&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

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.