This commit is contained in:
parent
014ff39ee4
commit
121fda7e4a
|
@ -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, google chart, track, garmin, image, nextgen-gallery, nextgen, exif, OpenStreetMap, OpenCycleMap, Hike&Bike.
|
Tags: maps, gpx, gps, graph, chart, google maps, google chart, track, garmin, image, nextgen-gallery, nextgen, exif, OpenStreetMap, OpenCycleMap, Hike&Bike.
|
||||||
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.13
|
Stable tag: 1.1.14
|
||||||
License: GPLv2 or later
|
License: GPLv2 or later
|
||||||
|
|
||||||
Draws a gpx track with altitude graph
|
Draws a gpx track with altitude graph
|
||||||
|
@ -109,6 +109,8 @@ Yes!
|
||||||
2. Admin area - Settings
|
2. Admin area - Settings
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
= 1.1.14 =
|
||||||
|
* added css to avoid map bars display issue
|
||||||
= 1.1.13 =
|
= 1.1.13 =
|
||||||
* added new types of maps: Open Street Map, Open Cycle Map, Hike & Bike.
|
* added new types of maps: Open Street Map, Open Cycle Map, Hike & Bike.
|
||||||
* fixed nextgen gallery caching problem
|
* fixed nextgen gallery caching problem
|
||||||
|
|
|
@ -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.13
|
Version: 1.1.14
|
||||||
Author: Bastianon Massimo
|
Author: Bastianon Massimo
|
||||||
Author URI: http://www.pedemontanadelgrappa.it/
|
Author URI: http://www.pedemontanadelgrappa.it/
|
||||||
License: GPL
|
License: GPL
|
||||||
|
@ -47,6 +47,11 @@ function enqueue_WP_GPX_Maps_scripts()
|
||||||
google.load("maps", "3", {other_params: 'sensor=false'});
|
google.load("maps", "3", {other_params: 'sensor=false'});
|
||||||
</script>
|
</script>
|
||||||
<script type='text/javascript' src='<?php echo plugins_url('/WP-GPX-Maps.js', __FILE__) ?>?ver=1.1.13'></script>
|
<script type='text/javascript' src='<?php echo plugins_url('/WP-GPX-Maps.js', __FILE__) ?>?ver=1.1.13'></script>
|
||||||
|
<style type="text/css">
|
||||||
|
.wpgpxmaps { clear:both; }
|
||||||
|
.wpgpxmaps img{ width: auto; max-width: auto; }
|
||||||
|
.wpgpxmaps .ngimages { display:none; }
|
||||||
|
</style>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -237,10 +242,10 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='')
|
||||||
@chmod($gpxcache,0755);
|
@chmod($gpxcache,0755);
|
||||||
|
|
||||||
$output = '
|
$output = '
|
||||||
<div id="wpgpxmaps_'.$r.'" style="clear:both;">
|
<div id="wpgpxmaps_'.$r.'" class="wpgpxmaps">
|
||||||
<div id="map_'.$r.'" style="width:'.$w.'; height:'.$mh.'"></div>
|
<div id="map_'.$r.'" style="width:'.$w.'; height:'.$mh.'"></div>
|
||||||
<div id="chart_'.$r.'" class="plot" style="width:'.$w.'; height:'.$gh.'"></div>
|
<div id="chart_'.$r.'" class="plot" style="width:'.$w.'; height:'.$gh.'"></div>
|
||||||
<div id="ngimages_'.$r.'" style="display:none">'.$ngimgs_data.'</div>
|
<div id="ngimages_'.$r.'" class="ngimages" style="display:none">'.$ngimgs_data.'</div>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
wpgpxmaps({ targetId : "'.$r.'",
|
wpgpxmaps({ targetId : "'.$r.'",
|
||||||
|
|
Loading…
Reference in New Issue