该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

GPXpress

描述

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.

屏幕截图

  • Example post with map.
  • Settings screen.

安装

  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.

常见问题

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.

评价

此插件暂无评价。

贡献者及开发者

「GPXpress」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「GPXpress」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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.