diff --git a/js/WP-GPX-Maps.js b/js/WP-GPX-Maps.js index b90574a..506e554 100644 --- a/js/WP-GPX-Maps.js +++ b/js/WP-GPX-Maps.js @@ -1337,7 +1337,7 @@ var WPGPXMAPS = { }; hoptions.options.scales.yAxes.push(yaxe); - hoptions.data.datasets.push( wpgpxmapsGetDataset(lng.atemp, myData,Items, color7, yaxe.id ) ); + hoptions.data.datasets.push( wpgpxmapsGetDataset(lng.atemp, myData.Items, color7, yaxe.id ) ); _formats.push({ suf : "°C", dec : 1 }); } diff --git a/readme.txt b/readme.txt index 03c5d67..1d4a4d0 100644 --- a/readme.txt +++ b/readme.txt @@ -4,8 +4,8 @@ Contributors: bastianonm, Stephan Klein, Michel Selerin Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8VHWLRW6JBTML Tags: maps, gpx, gps, graph, chart, leaflet, track, garmin, image, nextgen-gallery, nextgen, exif, OpenStreetMap, OpenCycleMap, Hike&Bike, heart rate, heartrate, cadence Requires at least: 2.0.0 -Tested up to: 4.9.7 -Stable tag: 1.6.02 +Tested up to: 4.9.8 +Stable tag: 1.6.03 Draws a gpx track with altitude graph. You can also display your nextgen gallery images in the map. @@ -153,6 +153,8 @@ Yes! 1. Altitude & Speed & Hearth rate == Changelog == += 1.6.02 = +* Fix syntax error causing graph not to display (thanks to nickstabler) = 1.6.02 = * Resolved errors with start and end icons = 1.6.01 = diff --git a/wp-gpx-maps.php b/wp-gpx-maps.php index a2b5b78..f8ca34f 100644 --- a/wp-gpx-maps.php +++ b/wp-gpx-maps.php @@ -3,7 +3,7 @@ * Plugin Name: WP-GPX-Maps * Plugin URI: http://www.devfarm.it/ * Description: Draws a GPX track with altitude chart - * Version: 1.6.02 + * Version: 1.6.03 * Author: Bastianon Massimo * Author URI: http://www.devfarm.it/ * Text Domain: wp-gpx-maps @@ -77,7 +77,7 @@ function enqueue_WP_GPX_Maps_scripts() { /* chartjs */ wp_register_script('chartjs', plugins_url( '/js/Chart.min.js', __FILE__ ), array(), "2.7.2" ); - wp_register_script('WP-GPX-Maps', plugins_url( '/js/WP-GPX-Maps.js', __FILE__ ), array('jquery','leaflet','chartjs'), "1.6.02" ); + wp_register_script('WP-GPX-Maps', plugins_url( '/js/WP-GPX-Maps.js', __FILE__ ), array('jquery','leaflet','chartjs'), "1.6.03" ); /* $wpgpxmaps_googlemapsv3_apikey = get_option('wpgpxmaps_googlemapsv3_apikey');