From b5eeba4ee6102fa9990c67463f66d09181928ed1 Mon Sep 17 00:00:00 2001 From: bastianonm Date: Mon, 5 May 2014 07:45:44 +0000 Subject: [PATCH] * fix: left axis not visible (downgrade highcharts to v3.0.10) * fix: fullscreen map js error --- WP-GPX-Maps.js | 5 +---- readme.txt | 5 ++++- wp-gpx-maps.php | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/WP-GPX-Maps.js b/WP-GPX-Maps.js index ce82415..a4615aa 100644 --- a/WP-GPX-Maps.js +++ b/WP-GPX-Maps.js @@ -239,7 +239,6 @@ Author URI: http://www.pedemontanadelgrappa.it/ // Setup the click event listeners google.maps.event.addDomListener(controlUI, 'click', function(event) { var isFullScreen = (controlUI.isfullscreen == true); - var fullScreenCss = "position: absolute;left:0;top:0;"; var mapDiv = map.getDiv(); var center = map.getCenter(); @@ -266,8 +265,7 @@ Author URI: http://www.pedemontanadelgrappa.it/ css('left', 0). css("width", '100%'). css("height", '100%'). - css("z-index", '100'), - css("z-index", '100000'); + css("z-index", '100'); jQuery("#wpadminbar").each(function(){ jQuery(mapDiv).css('top', jQuery(this).height()); }); @@ -465,7 +463,6 @@ Author URI: http://www.pedemontanadelgrappa.it/ // Setup the click event listeners google.maps.event.addDomListener(controlUIhi, 'click', function(event) { var isImagesHidden = (controlUIhi.isImagesHidden == true); - var fullScreenCss = "position: absolute;left:0;top:0;"; var mapDiv = map.getDiv(); var center = map.getCenter(); diff --git a/readme.txt b/readme.txt index b3735c9..2273a5d 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i Tags: maps, gpx, gps, graph, chart, google maps, track, garmin, image, nextgen-gallery, nextgen, exif, OpenStreetMap, OpenCycleMap, Hike&Bike, heart rate, heartrate, cadence Requires at least: 2.0.0 Tested up to: 3.9 -Stable tag: 1.3.1 +Stable tag: 1.3.2 Draws a gpx track with altitude graph. You can also display your nextgen gallery images in the map. @@ -187,6 +187,9 @@ Yes! 1. Altitude & Speed & Hearth rate == Changelog == += 1.3.2 = +* fix: left axis not visible (downgrade highcharts to v3.0.10) +* fix: fullscreen map js error = 1.3.1 = * fix: http/https javascript registration * fix: full screen map css issue diff --git a/wp-gpx-maps.php b/wp-gpx-maps.php index a675773..56a721b 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.3.1 +Version: 1.3.2 Author: Bastianon Massimo Author URI: http://www.pedemontanadelgrappa.it/ */ @@ -50,8 +50,8 @@ function enqueue_WP_GPX_Maps_scripts() { wp_enqueue_script( 'jquery' ); wp_enqueue_script( 'googlemaps', '//maps.googleapis.com/maps/api/js?sensor=false', null, null); - wp_enqueue_script( 'highcharts', "//code.highcharts.com/highcharts.js", array('jquery'), "2.3.3", true); - wp_enqueue_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), array('jquery','googlemaps','highcharts'), "1.3.0"); + wp_enqueue_script( 'highcharts', "//code.highcharts.com/3.0.10/highcharts.js", array('jquery'), "3.0.10", true); + wp_enqueue_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), array('jquery','googlemaps','highcharts'), "1.3.2"); } function print_WP_GPX_Maps_scripts() @@ -67,7 +67,7 @@ function print_WP_GPX_Maps_scripts() .wpgpxmaps_summary .summarylabel { } .wpgpxmaps_summary .summaryvalue { font-weight: bold; } .wpgpxmaps .report { line-height:120%; } - .wpgpxmaps .gmnoprint div:first-child { height: 20px; } + .wpgpxmaps .gmnoprint div:first-child { height: 20px; }