From 798d58d9c2d217578827de1d06316006f5126eab Mon Sep 17 00:00:00 2001 From: bastianonm Date: Sat, 19 Sep 2015 13:25:29 +0000 Subject: [PATCH] New google maps display fix --- readme.txt | 6 ++++-- wp-gpx-maps.php | 18 +++++++++++++----- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/readme.txt b/readme.txt index e987ffa..2ca00c7 100644 --- a/readme.txt +++ b/readme.txt @@ -4,8 +4,8 @@ Contributors: bastianonm, Stephan Klein Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8VHWLRW6JBTML 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: 4.2.2 -Stable tag: 1.3.7 +Tested up to: 4.3.1 +Stable tag: 1.3.8 Draws a gpx track with altitude graph. You can also display your nextgen gallery images in the map. @@ -195,6 +195,8 @@ Yes! 1. Altitude & Speed & Hearth rate == Changelog == += 1.3.8 = +* Improved Google Maps visualization = 1.3.7 = * NextGen Gallery's Attachment support. Thanks to Stephan Klein (https://klein-gedruckt.de/2015/03/wordpress-plugin-wp-gpx-maps/) = 1.3.6 = diff --git a/wp-gpx-maps.php b/wp-gpx-maps.php index 3a35181..14bc2b2 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.7 +Version: 1.3.8 Author: Bastianon Massimo Author URI: http://www.pedemontanadelgrappa.it/ */ @@ -67,20 +67,28 @@ function print_WP_GPX_Maps_styles() .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 { } .wpgpxmaps .wpgpxmaps_osm_footer { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; - height: 25px; + height: 13px; margin: 0; - padding: 6px; z-index: 999; background: WHITE; font-size: 12px; } + + .wpgpxmaps .wpgpxmaps_osm_footer span { + background: WHITE; + padding: 0 6px 6px 6px; + vertical-align: baseline; + position: absolute; + bottom: 0; + } +
- +