This commit is contained in:
bastianonm 2012-05-30 09:14:42 +00:00
parent fdf99d89c7
commit 68b9d8ab1b
2 changed files with 14 additions and 95 deletions

View File

@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
Tags: maps, gpx, gps, graph, chart, google maps, highcharts, track, garmin, image, nextgen-gallery, nextgen, exif, OpenStreetMap, OpenCycleMap, Hike&Bike, heart rate, heartrate, cadence Tags: maps, gpx, gps, graph, chart, google maps, highcharts, track, garmin, image, nextgen-gallery, nextgen, exif, OpenStreetMap, OpenCycleMap, Hike&Bike, heart rate, heartrate, cadence
Requires at least: 2.0.0 Requires at least: 2.0.0
Tested up to: 3.3 Tested up to: 3.3
Stable tag: 1.1.19 Stable tag: 1.1.20
License: GPLv2 or later License: GPLv2 or later
Draws a gpx track with altitude graph. You can also display your nextgen gallery images in the map. Draws a gpx track with altitude graph. You can also display your nextgen gallery images in the map.
@ -117,12 +117,14 @@ Yes!
== Screenshots == == Screenshots ==
1. Simple Gpx 1. Simple Gpx
1. Gpx with waypoints 1. Gpx with waypoints
2. Admin area - List of tracks 1. Admin area - List of tracks
2. Admin area - Settings 1. Admin area - Settings
2. Altitude & Speed 1. Altitude & Speed
2. Altitude & Speed & Hearth rate 1. Altitude & Speed & Hearth rate
== Changelog == == Changelog ==
= 1.1.20 =
* google maps images fixed in <a href="http://wordpress.org/extend/themes/yoko">Yoko theme</a>
= 1.1.19 = = 1.1.19 =
* include jQuery if needed * include jQuery if needed
= 1.1.17 = = 1.1.17 =
@ -141,94 +143,5 @@ Yes!
* fixed nextgen gallery caching problem * fixed nextgen gallery caching problem
= 1.1.12 = = 1.1.12 =
* nextgen gallery display bug fixes * nextgen gallery display bug fixes
= 1.1.11 =
* nextgen gallery integration
* minor bug fixes
= 1.1.10 =
* Configurable Map Icons
* Chart scale configuration (max and min values)
= 1.1.9 =
= 1.1.8 =
* cache issues fixed
* added speed when not present in the gpx (derived from datetime)
= 1.1.7 =
* new unit of measure (meters/kilometers)
* mouse wheel scrolling issue fixed
* minor bug fixes
= 1.1.6 =
* improved charts
* improved admin area
* added speed support (where available)
* fixed mootools incompability
= 1.1.5 =
* implemented cache (the plugin is faster, especially on slow servers or external gpx)
* minor bug fixes
= 1.1.4 =
* improved admin area
* added miles/feet unit of measure
* added map line color and graph line color
* minor bug fixes
= 1.1.3 =
* Allowed gpx files from http url
= 1.1.2 =
* Improved page load time
* Added compatibility to Wordpress Multisite (WPMU)
= 1.1.1 =
* Minor bug fixes
= 1.1.0 =
* Added Advanced Setting in the Admin Area
* Added the shortcode for every entry in the admin area (easy to copy and paste in your posts)
= 1.0.9 =
* Minor bug fixes
* Windows/IIS compatibility
= 1.0.8 =
* New icons (from google maps)
* Added interactivity over the map
= 1.0.7 =
* Added waypoints support
* New icons
= 1.0.6 =
* Minor bug fixes
= 1.0.5 =
* Fixed javscript errors with slow javascript loading
= 1.0.4 =
* Fixed Upload file error
* Added support for Garmin gpx (http://www.garmin.com/xmlschemas/GpxExtensions/v3 namespace)
= 1.0.3 =
* Added Settings link on plugins list
* Added attributes width, mheight, gheight, mtype on shortcode
= 1.0.2 =
* You can manage your gpx files in the admin area
= 1.0.1 =
* Initial release
== Upgrade Notice == == Upgrade Notice ==
= 1.1.16 =
= 1.1.15 =
= 1.1.14 =
= 1.1.13 =
= 1.1.12 =
= 1.1.11 =
= 1.1.10 =
= 1.1.9 =
= 1.1.8 =
= 1.1.7 =
= 1.1.6 =
* Added speed support. To enable this feature please check the plugin settings
= 1.1.5 =
= 1.1.4 =
= 1.1.3 =
= 1.1.2 =
= 1.1.1 =
= 1.1.0 =
= 1.0.9 =
= 1.0.8 =
= 1.0.7 =
* Added waypoints support. To enable this feature please check the plugin settings
= 1.0.6 =
= 1.0.5 =
= 1.0.4 =
= 1.0.3 =
= 1.0.2 =
= 1.0.1 =
Initial release.

View File

@ -3,7 +3,7 @@
Plugin Name: WP-GPX-Maps Plugin Name: WP-GPX-Maps
Plugin URI: http://www.darwinner.it/ Plugin URI: http://www.darwinner.it/
Description: Draws a gpx track with altitude graph Description: Draws a gpx track with altitude graph
Version: 1.1.19 Version: 1.1.20
Author: Bastianon Massimo Author: Bastianon Massimo
Author URI: http://www.pedemontanadelgrappa.it/ Author URI: http://www.pedemontanadelgrappa.it/
License: GPL License: GPL
@ -41,12 +41,17 @@ function WP_GPX_Maps_action_links($links, $file) {
function enqueue_WP_GPX_Maps_scripts() function enqueue_WP_GPX_Maps_scripts()
{ {
//wp_enqueue_script( 'jquery' );
wp_deregister_script( 'WP-GPX-Maps' ); wp_deregister_script( 'WP-GPX-Maps' );
wp_register_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), array('jquery'), "1.1.15"); wp_register_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), array('jquery'), "1.1.15");
wp_enqueue_script( 'WP-GPX-Maps' ); wp_enqueue_script( 'WP-GPX-Maps' );
wp_deregister_script( 'highcharts' ); wp_deregister_script( 'highcharts' );
wp_register_script( 'highcharts', plugins_url('/highcharts.js', __FILE__), array('jquery'), "2.2.1", true); wp_register_script( 'highcharts', plugins_url('/highcharts.js', __FILE__), array('jquery'), "2.2.1", true);
wp_enqueue_script( 'highcharts' ); wp_enqueue_script( 'highcharts' );
} }
function print_WP_GPX_Maps_scripts() function print_WP_GPX_Maps_scripts()
@ -58,6 +63,7 @@ function print_WP_GPX_Maps_scripts()
</script> </script>
<style type="text/css"> <style type="text/css">
.wpgpxmaps { clear:both; } .wpgpxmaps { clear:both; }
#content .wpgpxmaps img,
.entry-content .wpgpxmaps img, .entry-content .wpgpxmaps img,
.wpgpxmaps img { max-width: none; width: none; } .wpgpxmaps img { max-width: none; width: none; }
.wpgpxmaps .ngimages { display:none; } .wpgpxmaps .ngimages { display:none; }