* fix: left axis not visible (downgrade highcharts to v3.0.10)

* fix: fullscreen map js error
This commit is contained in:
bastianonm 2014-05-05 07:45:44 +00:00
parent 20618fdf99
commit b5eeba4ee6
3 changed files with 9 additions and 9 deletions

View File

@ -239,7 +239,6 @@ Author URI: http://www.pedemontanadelgrappa.it/
// Setup the click event listeners // Setup the click event listeners
google.maps.event.addDomListener(controlUI, 'click', function(event) { google.maps.event.addDomListener(controlUI, 'click', function(event) {
var isFullScreen = (controlUI.isfullscreen == true); var isFullScreen = (controlUI.isfullscreen == true);
var fullScreenCss = "position: absolute;left:0;top:0;";
var mapDiv = map.getDiv(); var mapDiv = map.getDiv();
var center = map.getCenter(); var center = map.getCenter();
@ -266,8 +265,7 @@ Author URI: http://www.pedemontanadelgrappa.it/
css('left', 0). css('left', 0).
css("width", '100%'). css("width", '100%').
css("height", '100%'). css("height", '100%').
css("z-index", '100'), css("z-index", '100');
css("z-index", '100000');
jQuery("#wpadminbar").each(function(){ jQuery("#wpadminbar").each(function(){
jQuery(mapDiv).css('top', jQuery(this).height()); jQuery(mapDiv).css('top', jQuery(this).height());
}); });
@ -465,7 +463,6 @@ Author URI: http://www.pedemontanadelgrappa.it/
// Setup the click event listeners // Setup the click event listeners
google.maps.event.addDomListener(controlUIhi, 'click', function(event) { google.maps.event.addDomListener(controlUIhi, 'click', function(event) {
var isImagesHidden = (controlUIhi.isImagesHidden == true); var isImagesHidden = (controlUIhi.isImagesHidden == true);
var fullScreenCss = "position: absolute;left:0;top:0;";
var mapDiv = map.getDiv(); var mapDiv = map.getDiv();
var center = map.getCenter(); var center = map.getCenter();

View File

@ -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 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 Requires at least: 2.0.0
Tested up to: 3.9 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. 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 1. Altitude & Speed & Hearth rate
== Changelog == == Changelog ==
= 1.3.2 =
* fix: left axis not visible (downgrade highcharts to v3.0.10)
* fix: fullscreen map js error
= 1.3.1 = = 1.3.1 =
* fix: http/https javascript registration * fix: http/https javascript registration
* fix: full screen map css issue * fix: full screen map css issue

View File

@ -3,7 +3,7 @@
Plugin Name: WP-GPX-Maps Plugin Name: WP-GPX-Maps
Plugin URI: http://www.devfarm.it/ Plugin URI: http://www.devfarm.it/
Description: Draws a GPX track with altitude chart Description: Draws a GPX track with altitude chart
Version: 1.3.1 Version: 1.3.2
Author: Bastianon Massimo Author: Bastianon Massimo
Author URI: http://www.pedemontanadelgrappa.it/ Author URI: http://www.pedemontanadelgrappa.it/
*/ */
@ -50,8 +50,8 @@ function enqueue_WP_GPX_Maps_scripts()
{ {
wp_enqueue_script( 'jquery' ); wp_enqueue_script( 'jquery' );
wp_enqueue_script( 'googlemaps', '//maps.googleapis.com/maps/api/js?sensor=false', null, null); 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( '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.0"); 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() function print_WP_GPX_Maps_scripts()
@ -67,7 +67,7 @@ function print_WP_GPX_Maps_scripts()
.wpgpxmaps_summary .summarylabel { } .wpgpxmaps_summary .summarylabel { }
.wpgpxmaps_summary .summaryvalue { font-weight: bold; } .wpgpxmaps_summary .summaryvalue { font-weight: bold; }
.wpgpxmaps .report { line-height:120%; } .wpgpxmaps .report { line-height:120%; }
.wpgpxmaps .gmnoprint div:first-child { height: 20px; } .wpgpxmaps .gmnoprint div:first-child { height: 20px; }
</style> </style>
<?php <?php
} }