Version Description
- 2012/11/19
- fixed bug to use google.com instead of google.co.uk
Download this release
Release Info
Developer | WebFactory |
Plugin | Google Maps Widget – Ultimate Google Maps Plugin |
Version | 0.37 |
Comparing to | |
See all releases |
Code changes from version 0.36 to 0.37
- google-maps-widget.php +3 -3
- readme.txt +5 -1
google-maps-widget.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google Maps Widget
|
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/google-maps-widget/
|
5 |
Description: Display a single-image super-fast loading Google map in a widget. A larger, full featured map is available on click in a lightbox.
|
6 |
Author: Web factory Ltd
|
7 |
-
Version: 0.
|
8 |
Author URI: http://www.webfactoryltd.com/
|
9 |
*/
|
10 |
|
@@ -14,7 +14,7 @@ if (!function_exists('add_action')) {
|
|
14 |
}
|
15 |
|
16 |
|
17 |
-
define('GMW_VER', '0.
|
18 |
require 'gmw-widget.php';
|
19 |
|
20 |
|
@@ -99,7 +99,7 @@ class GMW {
|
|
99 |
} else {
|
100 |
$iwloc = 'near';
|
101 |
}
|
102 |
-
$map_url = 'http://maps.google.
|
103 |
|
104 |
$out .= '<div class="gmw-dialog" style="display: none;" data-map-height="' . $widget['height'] . '" data-map-width="' . $widget['width'] . '" data-map-skin="' . $widget['skin'] . '" data-map-iframe-url="' . $map_url . '" id="dialog-' . $widget['id'] . '" title="' . esc_attr($widget['title']) . '">';
|
105 |
if ($widget['header']) {
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/google-maps-widget/
|
5 |
Description: Display a single-image super-fast loading Google map in a widget. A larger, full featured map is available on click in a lightbox.
|
6 |
Author: Web factory Ltd
|
7 |
+
Version: 0.37
|
8 |
Author URI: http://www.webfactoryltd.com/
|
9 |
*/
|
10 |
|
14 |
}
|
15 |
|
16 |
|
17 |
+
define('GMW_VER', '0.37');
|
18 |
require 'gmw-widget.php';
|
19 |
|
20 |
|
99 |
} else {
|
100 |
$iwloc = 'near';
|
101 |
}
|
102 |
+
$map_url = 'http://maps.google.com/maps?hl=en&ie=utf8&output=embed&iwloc=' . $iwloc . '&iwd=1&mrt=loc&t=' . $widget['type'] . '&q=' . urlencode($widget['address']) . '&z=' . urlencode($widget['zoom']) . '';
|
103 |
|
104 |
$out .= '<div class="gmw-dialog" style="display: none;" data-map-height="' . $widget['height'] . '" data-map-width="' . $widget['width'] . '" data-map-skin="' . $widget['skin'] . '" data-map-iframe-url="' . $map_url . '" id="dialog-' . $widget['id'] . '" title="' . esc_attr($widget['title']) . '">';
|
105 |
if ($widget['header']) {
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: google maps, maps, gmaps, widget, lightbox, map, google map, fancybox, fan
|
|
5 |
License: GPLv2 or later
|
6 |
Requires at least: 3.2
|
7 |
Tested up to: 3.4.2
|
8 |
-
Stable tag: 0.
|
9 |
|
10 |
Displays a single-image super-fast loading Google map in a widget. A larger map with all the usual features is available on click in a lightbox.
|
11 |
|
@@ -79,6 +79,10 @@ If you can figure it out open a thread in the support forums.
|
|
79 |
|
80 |
== Changelog ==
|
81 |
|
|
|
|
|
|
|
|
|
82 |
= 0.35 =
|
83 |
* 2012/09/28
|
84 |
* added 4 skins for lightbox
|
5 |
License: GPLv2 or later
|
6 |
Requires at least: 3.2
|
7 |
Tested up to: 3.4.2
|
8 |
+
Stable tag: 0.37
|
9 |
|
10 |
Displays a single-image super-fast loading Google map in a widget. A larger map with all the usual features is available on click in a lightbox.
|
11 |
|
79 |
|
80 |
== Changelog ==
|
81 |
|
82 |
+
= 0.37 =
|
83 |
+
* 2012/11/19
|
84 |
+
* fixed bug to use google.com instead of google.co.uk
|
85 |
+
|
86 |
= 0.35 =
|
87 |
* 2012/09/28
|
88 |
* added 4 skins for lightbox
|