Version Description
- 2013/11/25
- added option for thumbnail map to link to a custom URL which disables the lightbox; you can link to a lightbox, a custom link or remove the link all together
Download this release
Release Info
Developer | WebFactory |
Plugin | Google Maps Widget – Ultimate Google Maps Plugin |
Version | 1.15 |
Comparing to | |
See all releases |
Code changes from version 1.10 to 1.15
- gmw-widget.php +37 -3
- google-maps-widget.php +3 -3
- js/gmw-admin.js +18 -4
- js/gmw.js +4 -4
- readme.txt +7 -2
gmw-widget.php
CHANGED
@@ -9,7 +9,7 @@ class GoogleMapsWidget extends WP_Widget {
|
|
9 |
|
10 |
function GoogleMapsWidget() {
|
11 |
$widget_ops = array('classname' => 'google-maps-widget', 'description' => __('Displays a map image thumbnail with a larger map available in a lightbox.', 'google-maps-widget'));
|
12 |
-
$control_ops = array('width' =>
|
13 |
$this->WP_Widget('GoogleMapsWidget', __('Google Maps Widget', 'google-maps-widget'), $widget_ops, $control_ops);
|
14 |
}
|
15 |
|
@@ -26,6 +26,8 @@ class GoogleMapsWidget extends WP_Widget {
|
|
26 |
'thumb_header' => '',
|
27 |
'thumb_footer' => '',
|
28 |
'thumb_new_colors' => '1',
|
|
|
|
|
29 |
'lightbox_width' => '550',
|
30 |
'lightbox_height' => '550',
|
31 |
'lightbox_type' => 'roadmap',
|
@@ -47,6 +49,8 @@ class GoogleMapsWidget extends WP_Widget {
|
|
47 |
$thumb_header = $instance['thumb_header'];
|
48 |
$thumb_footer = $instance['thumb_footer'];
|
49 |
$thumb_new_colors = $instance['thumb_new_colors'];
|
|
|
|
|
50 |
$lightbox_width = $instance['lightbox_width'];
|
51 |
$lightbox_height = $instance['lightbox_height'];
|
52 |
$lightbox_type = $instance['lightbox_type'];
|
@@ -57,6 +61,10 @@ class GoogleMapsWidget extends WP_Widget {
|
|
57 |
$lightbox_footer = $instance['lightbox_footer'];
|
58 |
$lightbox_header = $instance['lightbox_header'];
|
59 |
|
|
|
|
|
|
|
|
|
60 |
$map_types_thumb = array(array('val' => 'roadmap', 'label' => __('Road (default)', 'google-maps-widget')),
|
61 |
array('val' => 'satellite', 'label' => __('Satellite', 'google-maps-widget')),
|
62 |
array('val' => 'terrain', 'label' => __('Terrain', 'google-maps-widget')),
|
@@ -93,6 +101,10 @@ class GoogleMapsWidget extends WP_Widget {
|
|
93 |
$lightbox_skins[] = array('val' => 'white-square', 'label' => __('White with square corners', 'google-maps-widget'));
|
94 |
$lightbox_skins[] = array('val' => 'black-square', 'label' => __('Black with square corners', 'google-maps-widget'));
|
95 |
|
|
|
|
|
|
|
|
|
96 |
|
97 |
echo '<p><label for="' . $this->get_field_id('title') . '">' . __('Title', 'google-maps-widget') . ':</label><input class="widefat" id="' . $this->get_field_id('title') . '" name="' . $this->get_field_name('title') . '" type="text" value="' . esc_attr($title) . '" /></p>';
|
98 |
echo '<p><label for="' . $this->get_field_id('address') . '">' . __('Address', 'google-maps-widget') . ':</label><input class="widefat" id="' . $this->get_field_id('address') . '" name="' . $this->get_field_name('address') . '" type="text" value="' . esc_attr($address) . '" /></p>';
|
@@ -125,6 +137,14 @@ class GoogleMapsWidget extends WP_Widget {
|
|
125 |
GMW::create_select_options($zoom_levels, $thumb_zoom);
|
126 |
echo '</select></p>';
|
127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
echo '<p><label for="' . $this->get_field_id('thumb_new_colors') . '">' . __('Use New Color Scheme', 'google-maps-widget') . ': </label>';
|
129 |
echo '<input ' . checked('1', $thumb_new_colors, false) . ' value="1" type="checkbox" id="' . $this->get_field_id('thumb_new_colors') . '" name="' . $this->get_field_name('thumb_new_colors') . '">';
|
130 |
echo '</p>';
|
@@ -188,6 +208,8 @@ class GoogleMapsWidget extends WP_Widget {
|
|
188 |
$instance['thumb_height'] = (int) $new_instance['thumb_height'];
|
189 |
$instance['thumb_zoom'] = $new_instance['thumb_zoom'];
|
190 |
$instance['thumb_type'] = $new_instance['thumb_type'];
|
|
|
|
|
191 |
$instance['thumb_header'] = trim($new_instance['thumb_header']);
|
192 |
$instance['thumb_footer'] = trim($new_instance['thumb_footer']);
|
193 |
$instance['thumb_new_colors'] = isset($new_instance['thumb_new_colors']);
|
@@ -237,6 +259,10 @@ class GoogleMapsWidget extends WP_Widget {
|
|
237 |
|
238 |
$out .= $before_widget;
|
239 |
|
|
|
|
|
|
|
|
|
240 |
if ($instance['thumb_new_colors']) {
|
241 |
$instance['thumb_new_colors'] = 'true';
|
242 |
} else {
|
@@ -251,12 +277,20 @@ class GoogleMapsWidget extends WP_Widget {
|
|
251 |
if ($instance['thumb_header']) {
|
252 |
$tmp .= wpautop($instance['thumb_header']);
|
253 |
}
|
254 |
-
$tmp .= '<p
|
|
|
|
|
|
|
|
|
|
|
255 |
$tmp .= '<img title="' . __('Click to open larger map', 'google-maps-widget') . '" alt="' . __('Click to open larger map', 'google-maps-widget') . '" src="//maps.googleapis.com/maps/api/staticmap?center=' .
|
256 |
urlencode($instance['address']) . '&zoom=' . $instance['thumb_zoom'] .
|
257 |
'&size=' . $instance['thumb_width'] . 'x' . $instance['thumb_height'] . '&maptype=' . $instance['thumb_type'] .
|
258 |
'&sensor=false&scale=1&markers=size:' . $instance['thumb_pin_size'] . '%7Ccolor:' . $instance['thumb_pin_color'] . '%7Clabel:A%7C' .
|
259 |
-
urlencode($instance['address']) . '&language=' . $lang . '&visual_refresh=' . $instance['thumb_new_colors'] .'"
|
|
|
|
|
|
|
260 |
$tmp .= '</p>';
|
261 |
if ($instance['thumb_footer']) {
|
262 |
$tmp .= wpautop($instance['thumb_footer']);
|
9 |
|
10 |
function GoogleMapsWidget() {
|
11 |
$widget_ops = array('classname' => 'google-maps-widget', 'description' => __('Displays a map image thumbnail with a larger map available in a lightbox.', 'google-maps-widget'));
|
12 |
+
$control_ops = array('width' => 450, 'height' => 350);
|
13 |
$this->WP_Widget('GoogleMapsWidget', __('Google Maps Widget', 'google-maps-widget'), $widget_ops, $control_ops);
|
14 |
}
|
15 |
|
26 |
'thumb_header' => '',
|
27 |
'thumb_footer' => '',
|
28 |
'thumb_new_colors' => '1',
|
29 |
+
'thumb_link_type' => 'lightbox',
|
30 |
+
'thumb_link' => '',
|
31 |
'lightbox_width' => '550',
|
32 |
'lightbox_height' => '550',
|
33 |
'lightbox_type' => 'roadmap',
|
49 |
$thumb_header = $instance['thumb_header'];
|
50 |
$thumb_footer = $instance['thumb_footer'];
|
51 |
$thumb_new_colors = $instance['thumb_new_colors'];
|
52 |
+
$thumb_link_type = $instance['thumb_link_type'];
|
53 |
+
$thumb_link = $instance['thumb_link'];
|
54 |
$lightbox_width = $instance['lightbox_width'];
|
55 |
$lightbox_height = $instance['lightbox_height'];
|
56 |
$lightbox_type = $instance['lightbox_type'];
|
61 |
$lightbox_footer = $instance['lightbox_footer'];
|
62 |
$lightbox_header = $instance['lightbox_header'];
|
63 |
|
64 |
+
if(!$thumb_link_type) {
|
65 |
+
$thumb_link_type = 'lightbox';
|
66 |
+
}
|
67 |
+
|
68 |
$map_types_thumb = array(array('val' => 'roadmap', 'label' => __('Road (default)', 'google-maps-widget')),
|
69 |
array('val' => 'satellite', 'label' => __('Satellite', 'google-maps-widget')),
|
70 |
array('val' => 'terrain', 'label' => __('Terrain', 'google-maps-widget')),
|
101 |
$lightbox_skins[] = array('val' => 'white-square', 'label' => __('White with square corners', 'google-maps-widget'));
|
102 |
$lightbox_skins[] = array('val' => 'black-square', 'label' => __('Black with square corners', 'google-maps-widget'));
|
103 |
|
104 |
+
$thumb_link_types[] = array('val' => 'lightbox', 'label' => __('Lightbox', 'google-maps-widget'));
|
105 |
+
$thumb_link_types[] = array('val' => 'custom', 'label' => __('Custom link', 'google-maps-widget'));
|
106 |
+
$thumb_link_types[] = array('val' => 'nolink', 'label' => __('Disable link', 'google-maps-widget'));
|
107 |
+
|
108 |
|
109 |
echo '<p><label for="' . $this->get_field_id('title') . '">' . __('Title', 'google-maps-widget') . ':</label><input class="widefat" id="' . $this->get_field_id('title') . '" name="' . $this->get_field_name('title') . '" type="text" value="' . esc_attr($title) . '" /></p>';
|
110 |
echo '<p><label for="' . $this->get_field_id('address') . '">' . __('Address', 'google-maps-widget') . ':</label><input class="widefat" id="' . $this->get_field_id('address') . '" name="' . $this->get_field_name('address') . '" type="text" value="' . esc_attr($address) . '" /></p>';
|
137 |
GMW::create_select_options($zoom_levels, $thumb_zoom);
|
138 |
echo '</select></p>';
|
139 |
|
140 |
+
echo '<p><label class="gmw-label" for="' . $this->get_field_id('thumb_link_type') . '">' . __('Link To', 'google-maps-widget') . ':</label>';
|
141 |
+
echo '<select class="gmw_thumb_link_type" id="' . $this->get_field_id('thumb_link_type') . '" name="' . $this->get_field_name('thumb_link_type') . '">';
|
142 |
+
GMW::create_select_options($thumb_link_types, $thumb_link_type);
|
143 |
+
echo '</select></p>';
|
144 |
+
|
145 |
+
echo '<p class="gmw_thumb_link_section"><label class="gmw-label" for="' . $this->get_field_id('thumb_link') . '">' . __('Custom Link', 'google-maps-widget') . ':</label>';
|
146 |
+
echo '<input class="regular-text" id="' . $this->get_field_id('thumb_link') . '" name="' . $this->get_field_name('thumb_link') . '" type="text" value="' . esc_attr($thumb_link) . '" /></p>';
|
147 |
+
|
148 |
echo '<p><label for="' . $this->get_field_id('thumb_new_colors') . '">' . __('Use New Color Scheme', 'google-maps-widget') . ': </label>';
|
149 |
echo '<input ' . checked('1', $thumb_new_colors, false) . ' value="1" type="checkbox" id="' . $this->get_field_id('thumb_new_colors') . '" name="' . $this->get_field_name('thumb_new_colors') . '">';
|
150 |
echo '</p>';
|
208 |
$instance['thumb_height'] = (int) $new_instance['thumb_height'];
|
209 |
$instance['thumb_zoom'] = $new_instance['thumb_zoom'];
|
210 |
$instance['thumb_type'] = $new_instance['thumb_type'];
|
211 |
+
$instance['thumb_link_type'] = $new_instance['thumb_link_type'];
|
212 |
+
$instance['thumb_link'] = trim($new_instance['thumb_link']);
|
213 |
$instance['thumb_header'] = trim($new_instance['thumb_header']);
|
214 |
$instance['thumb_footer'] = trim($new_instance['thumb_footer']);
|
215 |
$instance['thumb_new_colors'] = isset($new_instance['thumb_new_colors']);
|
259 |
|
260 |
$out .= $before_widget;
|
261 |
|
262 |
+
if (!$instance['thumb_link_type']) {
|
263 |
+
$instance['thumb_link_type'] = 'lightbox';
|
264 |
+
}
|
265 |
+
|
266 |
if ($instance['thumb_new_colors']) {
|
267 |
$instance['thumb_new_colors'] = 'true';
|
268 |
} else {
|
277 |
if ($instance['thumb_header']) {
|
278 |
$tmp .= wpautop($instance['thumb_header']);
|
279 |
}
|
280 |
+
$tmp .= '<p>';
|
281 |
+
if ($instance['thumb_link_type'] == 'lightbox') {
|
282 |
+
$tmp .= '<a class="gmw-thumbnail-map gmw-lightbox-enabled" href="#gmw-dialog-' . $widget_id . '" title="' . __('Click to open larger map', 'google-maps-widget') . '">';
|
283 |
+
} elseif ($instance['thumb_link_type'] == 'custom') {
|
284 |
+
$tmp .= '<a class="gmw-thumbnail-map" href="' . $instance['thumb_link'] . '">';
|
285 |
+
}
|
286 |
$tmp .= '<img title="' . __('Click to open larger map', 'google-maps-widget') . '" alt="' . __('Click to open larger map', 'google-maps-widget') . '" src="//maps.googleapis.com/maps/api/staticmap?center=' .
|
287 |
urlencode($instance['address']) . '&zoom=' . $instance['thumb_zoom'] .
|
288 |
'&size=' . $instance['thumb_width'] . 'x' . $instance['thumb_height'] . '&maptype=' . $instance['thumb_type'] .
|
289 |
'&sensor=false&scale=1&markers=size:' . $instance['thumb_pin_size'] . '%7Ccolor:' . $instance['thumb_pin_color'] . '%7Clabel:A%7C' .
|
290 |
+
urlencode($instance['address']) . '&language=' . $lang . '&visual_refresh=' . $instance['thumb_new_colors'] .'">';
|
291 |
+
if ($instance['thumb_link_type'] == 'lightbox' || $instance['thumb_link_type'] == 'custom') {
|
292 |
+
$tmp .= '</a>';
|
293 |
+
}
|
294 |
$tmp .= '</p>';
|
295 |
if ($instance['thumb_footer']) {
|
296 |
$tmp .= wpautop($instance['thumb_footer']);
|
google-maps-widget.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google Maps Widget
|
|
4 |
Plugin URI: http://www.googlemapswidget.com/
|
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: 1.
|
8 |
Author URI: http://www.webfactoryltd.com/
|
9 |
|
10 |
Copyright 2013 Web factory Ltd (email : info@webfactoryltd.com)
|
@@ -29,7 +29,7 @@ if (!function_exists('add_action')) {
|
|
29 |
}
|
30 |
|
31 |
|
32 |
-
define('GMW_VER', '1.
|
33 |
require_once 'gmw-widget.php';
|
34 |
|
35 |
|
@@ -134,7 +134,7 @@ class GMW {
|
|
134 |
|
135 |
$map_url = '//maps.google.com/maps?hl=' . $lang . '&ie=utf8&output=embed&iwloc=' . $iwloc . '&iwd=1&mrt=loc&t=' . $widget['type'] . '&q=' . urlencode(remove_accents($widget['address'])) . '&z=' . urlencode($widget['zoom']) . $ll;
|
136 |
|
137 |
-
$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']) . '">';
|
138 |
if ($widget['header']) {
|
139 |
$out .= '<div class="gmw-header"><i>' . do_shortcode($widget['header']) . '</i></div>';
|
140 |
}
|
4 |
Plugin URI: http://www.googlemapswidget.com/
|
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: 1.15
|
8 |
Author URI: http://www.webfactoryltd.com/
|
9 |
|
10 |
Copyright 2013 Web factory Ltd (email : info@webfactoryltd.com)
|
29 |
}
|
30 |
|
31 |
|
32 |
+
define('GMW_VER', '1.15');
|
33 |
require_once 'gmw-widget.php';
|
34 |
|
35 |
|
134 |
|
135 |
$map_url = '//maps.google.com/maps?hl=' . $lang . '&ie=utf8&output=embed&iwloc=' . $iwloc . '&iwd=1&mrt=loc&t=' . $widget['type'] . '&q=' . urlencode(remove_accents($widget['address'])) . '&z=' . urlencode($widget['zoom']) . $ll;
|
136 |
|
137 |
+
$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="gmw-dialog-' . $widget['id'] . '" title="' . esc_attr($widget['title']) . '">';
|
138 |
if ($widget['header']) {
|
139 |
$out .= '<div class="gmw-header"><i>' . do_shortcode($widget['header']) . '</i></div>';
|
140 |
}
|
js/gmw-admin.js
CHANGED
@@ -1,31 +1,45 @@
|
|
1 |
/*
|
2 |
* Google Maps Widget
|
3 |
-
* (c) Web factory Ltd, 2013
|
4 |
*/
|
5 |
|
6 |
jQuery(function($) {
|
7 |
$('.gmw-tabs').each(function(i, el) {
|
|
|
|
|
8 |
el_id = $(el).attr('id');
|
9 |
$(el).tabs({ active: get_active_tab(el_id),
|
10 |
activate: function(event, ui) { save_active_tab(this); }
|
11 |
});
|
|
|
12 |
});
|
13 |
-
|
14 |
// get active tab index from cookie
|
15 |
function get_active_tab(el_id) {
|
16 |
id = parseInt(0 + $.cookie(el_id), 10);
|
17 |
|
18 |
return id;
|
19 |
} // get_active_tab
|
20 |
-
|
21 |
// save active tab index to cookie
|
22 |
function save_active_tab(elem) {
|
23 |
$.cookie($(elem).attr('id'), $(elem).tabs('option', 'active'), { expires: 30 });
|
24 |
} // save_active_tab
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
// re-tab on GUI rebuild
|
27 |
$('div[id*="googlemapswidget"]').ajaxSuccess(function(event, request, option) {
|
28 |
$('.gmw-tabs').each(function(i, el) {
|
|
|
|
|
29 |
el_id = $(el).attr('id');
|
30 |
$(el).tabs({ active: get_active_tab(el_id),
|
31 |
activate: function(event, ui) { save_active_tab(this); }
|
1 |
/*
|
2 |
* Google Maps Widget
|
3 |
+
* (c) Web factory Ltd, 2012 - 2013
|
4 |
*/
|
5 |
|
6 |
jQuery(function($) {
|
7 |
$('.gmw-tabs').each(function(i, el) {
|
8 |
+
change_link_type(el);
|
9 |
+
$('.gmw_thumb_link_type', el).on('change', function() { change_link_type(el) });
|
10 |
el_id = $(el).attr('id');
|
11 |
$(el).tabs({ active: get_active_tab(el_id),
|
12 |
activate: function(event, ui) { save_active_tab(this); }
|
13 |
});
|
14 |
+
|
15 |
});
|
16 |
+
|
17 |
// get active tab index from cookie
|
18 |
function get_active_tab(el_id) {
|
19 |
id = parseInt(0 + $.cookie(el_id), 10);
|
20 |
|
21 |
return id;
|
22 |
} // get_active_tab
|
23 |
+
|
24 |
// save active tab index to cookie
|
25 |
function save_active_tab(elem) {
|
26 |
$.cookie($(elem).attr('id'), $(elem).tabs('option', 'active'), { expires: 30 });
|
27 |
} // save_active_tab
|
28 |
+
|
29 |
+
// show/hide custom link field based on user's link type choice
|
30 |
+
function change_link_type(widget) {
|
31 |
+
if ($('.gmw_thumb_link_type', widget).val() == 'custom') {
|
32 |
+
$('.gmw_thumb_link_section', widget).show();
|
33 |
+
} else {
|
34 |
+
$('.gmw_thumb_link_section', widget).hide();
|
35 |
+
}
|
36 |
+
} // link_type
|
37 |
+
|
38 |
// re-tab on GUI rebuild
|
39 |
$('div[id*="googlemapswidget"]').ajaxSuccess(function(event, request, option) {
|
40 |
$('.gmw-tabs').each(function(i, el) {
|
41 |
+
change_link_type(el);
|
42 |
+
$('.gmw_thumb_link_type', el).on('change', function() { change_link_type(el) });
|
43 |
el_id = $(el).attr('id');
|
44 |
$(el).tabs({ active: get_active_tab(el_id),
|
45 |
activate: function(event, ui) { save_active_tab(this); }
|
js/gmw.js
CHANGED
@@ -1,22 +1,22 @@
|
|
1 |
/*
|
2 |
* Google Maps Widget
|
3 |
-
* (c) Web factory Ltd, 2013
|
4 |
*/
|
5 |
|
6 |
jQuery(function($) {
|
7 |
-
$('a.gmw-thumbnail-map').click(function() {
|
8 |
dialog = $($(this).attr('href'));
|
9 |
map_width = dialog.attr('data-map-width');
|
10 |
map_height = dialog.attr('data-map-height');
|
11 |
map_url = dialog.attr('data-map-iframe-url');
|
12 |
map_title = dialog.attr('title');
|
13 |
map_skin = dialog.attr('data-map-skin');
|
14 |
-
|
15 |
var content = $(dialog.html());
|
16 |
content.filter('.gmw-map').html('<iframe width="' + map_width + 'px" height="' + map_height + 'px" src="' + map_url + '"></iframe>');
|
17 |
|
18 |
$.fancybox( { 'wrapCSS': map_skin, 'type': 'html', 'content': content, 'title': map_title, 'autoSize': true, 'minWidth': map_width, 'minHeight': map_height } );
|
19 |
-
|
20 |
return false;
|
21 |
});
|
22 |
}); // onload
|
1 |
/*
|
2 |
* Google Maps Widget
|
3 |
+
* (c) Web factory Ltd, 2012 - 2013
|
4 |
*/
|
5 |
|
6 |
jQuery(function($) {
|
7 |
+
$('a.gmw-thumbnail-map.gmw-lightbox-enabled').click(function() {
|
8 |
dialog = $($(this).attr('href'));
|
9 |
map_width = dialog.attr('data-map-width');
|
10 |
map_height = dialog.attr('data-map-height');
|
11 |
map_url = dialog.attr('data-map-iframe-url');
|
12 |
map_title = dialog.attr('title');
|
13 |
map_skin = dialog.attr('data-map-skin');
|
14 |
+
|
15 |
var content = $(dialog.html());
|
16 |
content.filter('.gmw-map').html('<iframe width="' + map_width + 'px" height="' + map_height + 'px" src="' + map_url + '"></iframe>');
|
17 |
|
18 |
$.fancybox( { 'wrapCSS': map_skin, 'type': 'html', 'content': content, 'title': map_title, 'autoSize': true, 'minWidth': map_width, 'minHeight': map_height } );
|
19 |
+
|
20 |
return false;
|
21 |
});
|
22 |
}); // onload
|
readme.txt
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
=== Google Maps Widget ===
|
2 |
Contributors: WebFactory
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypal%40webfactoryltd%2ecom&lc=US&item_name=Google%20Maps%20Widget&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest
|
4 |
-
Tags: google maps, maps, gmaps, widget, lightbox, map, google map, fancybox, multilingual, sidebar, chinese
|
5 |
License: GPLv2 or later
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: 3.3
|
8 |
Tested up to: 3.7.1
|
9 |
-
Stable tag: 1.
|
10 |
|
11 |
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.
|
12 |
|
@@ -28,6 +28,7 @@ http://www.youtube.com/watch?v=y1siX9ha7Pw&hd=1
|
|
28 |
* pin color
|
29 |
* pin size
|
30 |
* zoom level
|
|
|
31 |
* map color scheme - new & old
|
32 |
* text above map
|
33 |
* text below map
|
@@ -97,6 +98,10 @@ If you can figure it out open a thread in the support forums.
|
|
97 |
4. Widget options - lightbox map
|
98 |
|
99 |
== Changelog ==
|
|
|
|
|
|
|
|
|
100 |
= 1.10 =
|
101 |
* 2013/11/18
|
102 |
* added option for thumbnail map to use the new look/color scheme
|
1 |
=== Google Maps Widget ===
|
2 |
Contributors: WebFactory
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypal%40webfactoryltd%2ecom&lc=US&item_name=Google%20Maps%20Widget&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest
|
4 |
+
Tags: google maps, maps, gmaps, widget, lightbox, map, google map, fancybox, fancybox2, multilingual, sidebar, chinese
|
5 |
License: GPLv2 or later
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: 3.3
|
8 |
Tested up to: 3.7.1
|
9 |
+
Stable tag: 1.15
|
10 |
|
11 |
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.
|
12 |
|
28 |
* pin color
|
29 |
* pin size
|
30 |
* zoom level
|
31 |
+
* link type - lightbox, custom URL or disable link
|
32 |
* map color scheme - new & old
|
33 |
* text above map
|
34 |
* text below map
|
98 |
4. Widget options - lightbox map
|
99 |
|
100 |
== Changelog ==
|
101 |
+
= 1.15 =
|
102 |
+
* 2013/11/25
|
103 |
+
* added option for thumbnail map to link to a custom URL which disables the lightbox; you can link to a lightbox, a custom link or remove the link all together
|
104 |
+
|
105 |
= 1.10 =
|
106 |
* 2013/11/18
|
107 |
* added option for thumbnail map to use the new look/color scheme
|