Google Maps Widget – Ultimate Google Maps Plugin - Version 4.05

Version Description

  • 2019/01/08
  • added Blue thumbnail color scheme
Download this release

Release Info

Developer WebFactory
Plugin Icon 128x128 Google Maps Widget – Ultimate Google Maps Plugin
Version 4.05
Comparing to
See all releases

Code changes from version 4.02 to 4.05

Files changed (3) hide show
  1. gmw-widget.php +6 -5
  2. google-maps-widget.php +2 -2
  3. readme.txt +6 -2
gmw-widget.php CHANGED
@@ -154,7 +154,7 @@ class GoogleMapsWidget extends WP_Widget {
154
  $thumb_color_schemes = array(array('val' => 'default', 'label' => __('Default', 'google-maps-widget')),
155
  array('val' => 'new', 'label' => __('Refreshed by Google', 'google-maps-widget')),
156
  array('val' => '-1', 'label' => __('Apple', 'google-maps-widget')),
157
- array('val' => '-1', 'label' => __('Blue', 'google-maps-widget')),
158
  array('val' => 'bright', 'label' => __('Bright', 'google-maps-widget')),
159
  array('val' => 'gowalla', 'label' => __('Gowalla', 'google-maps-widget')),
160
  array('val' => 'gray', 'label' => __('Gray', 'google-maps-widget')),
@@ -176,9 +176,9 @@ class GoogleMapsWidget extends WP_Widget {
176
 
177
  $thumb_powered_bys = array(array('val' => '0', 'label' => __('No, I do not want to do that', 'google-maps-widget')),
178
  array('val' => '1', 'label' => __('Please, let us show a tiny link below the map so that others can learn about GMW too', 'google-maps-widget')));
179
-
180
  $hide_titles = array(array('val' => '0', 'label' => __('No, show the widget title (default)', 'google-maps-widget')),
181
- array('val' => '1', 'label' => __('Yes, hide the widget title', 'google-maps-widget')));
182
 
183
  $lightbox_langs = array(array('val' => 'en', 'label' => 'English'),
184
  array('val' => '-1', 'label' => __('Add auto-detection and 50 more languages', 'google-maps-widget')));
@@ -500,7 +500,7 @@ class GoogleMapsWidget extends WP_Widget {
500
  } else {
501
  echo $widget['before_widget'] . '<div style="border: 1px solid black; padding: 20px;">Open Google Maps Widget settings to configure the Google Maps API key. The map can\'t work without it. This is a Google\'s rule that all sites must follow.</div>' . $widget['after_widget'];
502
  }
503
-
504
  return;
505
  }
506
 
@@ -515,7 +515,8 @@ class GoogleMapsWidget extends WP_Widget {
515
  'bright' => 'style=feature:water|element:all|color:0x19a0d8|&style=feature:administrative|element:labels.text.stroke|color:0xffffff|weight:6|&style=feature:administrative|element:labels.text.fill|color:0xe85113|&style=feature:road.highway|element:geometry.stroke|color:0xefe9e4|lightness:-40|&style=feature:road.arterial|element:geometry.stroke|color:0xefe9e4|lightness:-20|&style=feature:road|element:labels.text.stroke|lightness:100|&style=feature:road|element:labels.text.fill|lightness:-100|&style=&style=feature:landscape|element:labels|visibility:off|&style=feature:landscape|element:all|lightness:20|color:0xefe9e4|&style=feature:landscape.man_made|element:all|visibility:off|&style=feature:water|element:labels.text.stroke|lightness:100|&style=feature:water|element:labels.text.fill|lightness:-100|&style=feature:poi|element:labels.text.fill|hue:0x11ff00|&style=feature:poi|element:labels.text.stroke|lightness:100|&style=feature:poi|element:labels.icon|hue:0x4cff00|saturation:58|&style=feature:poi|element:geometry|visibility:on|color:0xf0e4d3|&style=feature:road.highway|element:geometry.fill|color:0xefe9e4|lightness:-25|&style=feature:road.arterial|element:geometry.fill|color:0xefe9e4|lightness:-10|&style=feature:poi|element:labels|visibility:simplified|',
516
  'midnight' => 'style=feature:water|element:all|color:0x021019|&style=feature:landscape|element:all|color:0x08304b|&style=feature:poi|element:geometry|color:0x0c4152|lightness:5|&style=feature:road.highway|element:geometry.fill|color:0x000000|&style=feature:road.highway|element:geometry.stroke|color:0x0b434f|lightness:25|&style=feature:road.arterial|element:geometry.fill|color:0x000000|&style=feature:road.arterial|element:geometry.stroke|color:0x0b3d51|lightness:16|&style=feature:road.local|element:geometry|color:0x000000|&style=feature:all|element:labels.text.fill|color:0xffffff|&style=feature:all|element:labels.text.stroke|color:0x000000|lightness:13|&style=feature:transit|element:all|color:0x146474|&style=feature:administrative|element:geometry.fill|color:0x000000|&style=feature:administrative|element:geometry.stroke|color:0x144b53|lightness:14|weight:1.4|',
517
  'neon' => 'style=saturation:100|gamma:0.6',
518
- 'gray' => 'style=feature:landscape|element:all|saturation:-100|lightness:65|visibility:on|&style=feature:poi|element:all|saturation:-100|lightness:51|visibility:simplified|&style=feature:road.highway|element:all|saturation:-100|visibility:simplified|&style=feature:road.arterial|element:all|saturation:-100|lightness:30|visibility:on|&style=feature:road.local|element:all|saturation:-100|lightness:40|visibility:on|&style=feature:transit|element:all|saturation:-100|visibility:simplified|&style=feature:administrative.province|element:all|visibility:off|&style=feature:water|element:labels|visibility:on|lightness:-25|saturation:-100|&style=feature:water|element:geometry|hue:0xffff00|lightness:-25|saturation:-97|');
 
519
 
520
  $map_src = '//maps.googleapis.com/maps/api/staticmap';
521
 
154
  $thumb_color_schemes = array(array('val' => 'default', 'label' => __('Default', 'google-maps-widget')),
155
  array('val' => 'new', 'label' => __('Refreshed by Google', 'google-maps-widget')),
156
  array('val' => '-1', 'label' => __('Apple', 'google-maps-widget')),
157
+ array('val' => 'blue', 'label' => __('Blue', 'google-maps-widget')),
158
  array('val' => 'bright', 'label' => __('Bright', 'google-maps-widget')),
159
  array('val' => 'gowalla', 'label' => __('Gowalla', 'google-maps-widget')),
160
  array('val' => 'gray', 'label' => __('Gray', 'google-maps-widget')),
176
 
177
  $thumb_powered_bys = array(array('val' => '0', 'label' => __('No, I do not want to do that', 'google-maps-widget')),
178
  array('val' => '1', 'label' => __('Please, let us show a tiny link below the map so that others can learn about GMW too', 'google-maps-widget')));
179
+
180
  $hide_titles = array(array('val' => '0', 'label' => __('No, show the widget title (default)', 'google-maps-widget')),
181
+ array('val' => '1', 'label' => __('Yes, hide the widget title', 'google-maps-widget')));
182
 
183
  $lightbox_langs = array(array('val' => 'en', 'label' => 'English'),
184
  array('val' => '-1', 'label' => __('Add auto-detection and 50 more languages', 'google-maps-widget')));
500
  } else {
501
  echo $widget['before_widget'] . '<div style="border: 1px solid black; padding: 20px;">Open Google Maps Widget settings to configure the Google Maps API key. The map can\'t work without it. This is a Google\'s rule that all sites must follow.</div>' . $widget['after_widget'];
502
  }
503
+
504
  return;
505
  }
506
 
515
  'bright' => 'style=feature:water|element:all|color:0x19a0d8|&style=feature:administrative|element:labels.text.stroke|color:0xffffff|weight:6|&style=feature:administrative|element:labels.text.fill|color:0xe85113|&style=feature:road.highway|element:geometry.stroke|color:0xefe9e4|lightness:-40|&style=feature:road.arterial|element:geometry.stroke|color:0xefe9e4|lightness:-20|&style=feature:road|element:labels.text.stroke|lightness:100|&style=feature:road|element:labels.text.fill|lightness:-100|&style=&style=feature:landscape|element:labels|visibility:off|&style=feature:landscape|element:all|lightness:20|color:0xefe9e4|&style=feature:landscape.man_made|element:all|visibility:off|&style=feature:water|element:labels.text.stroke|lightness:100|&style=feature:water|element:labels.text.fill|lightness:-100|&style=feature:poi|element:labels.text.fill|hue:0x11ff00|&style=feature:poi|element:labels.text.stroke|lightness:100|&style=feature:poi|element:labels.icon|hue:0x4cff00|saturation:58|&style=feature:poi|element:geometry|visibility:on|color:0xf0e4d3|&style=feature:road.highway|element:geometry.fill|color:0xefe9e4|lightness:-25|&style=feature:road.arterial|element:geometry.fill|color:0xefe9e4|lightness:-10|&style=feature:poi|element:labels|visibility:simplified|',
516
  'midnight' => 'style=feature:water|element:all|color:0x021019|&style=feature:landscape|element:all|color:0x08304b|&style=feature:poi|element:geometry|color:0x0c4152|lightness:5|&style=feature:road.highway|element:geometry.fill|color:0x000000|&style=feature:road.highway|element:geometry.stroke|color:0x0b434f|lightness:25|&style=feature:road.arterial|element:geometry.fill|color:0x000000|&style=feature:road.arterial|element:geometry.stroke|color:0x0b3d51|lightness:16|&style=feature:road.local|element:geometry|color:0x000000|&style=feature:all|element:labels.text.fill|color:0xffffff|&style=feature:all|element:labels.text.stroke|color:0x000000|lightness:13|&style=feature:transit|element:all|color:0x146474|&style=feature:administrative|element:geometry.fill|color:0x000000|&style=feature:administrative|element:geometry.stroke|color:0x144b53|lightness:14|weight:1.4|',
517
  'neon' => 'style=saturation:100|gamma:0.6',
518
+ 'gray' => 'style=feature:landscape|element:all|saturation:-100|lightness:65|visibility:on|&style=feature:poi|element:all|saturation:-100|lightness:51|visibility:simplified|&style=feature:road.highway|element:all|saturation:-100|visibility:simplified|&style=feature:road.arterial|element:all|saturation:-100|lightness:30|visibility:on|&style=feature:road.local|element:all|saturation:-100|lightness:40|visibility:on|&style=feature:transit|element:all|saturation:-100|visibility:simplified|&style=feature:administrative.province|element:all|visibility:off|&style=feature:water|element:labels|visibility:on|lightness:-25|saturation:-100|&style=feature:water|element:geometry|hue:0xffff00|lightness:-25|saturation:-97|',
519
+ 'blue' => 'style=feature:water|element:all|color:0x46bcec|visibility:on|&style=feature:landscape|element:all|color:0xf2f2f2|&style=feature:road|element:all|saturation:-100|lightness:45|&style=feature:road.highway|element:all|visibility:simplified|&style=feature:road.arterial|element:labels.icon|visibility:off|&style=feature:administrative|element:labels.text.fill|color:0x444444|&style=feature:transit|element:all|visibility:off|&style=feature:poi|element:all|visibility:off|');
520
 
521
  $map_src = '//maps.googleapis.com/maps/api/staticmap';
522
 
google-maps-widget.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google Maps Widget
4
  Plugin URI: https://www.gmapswidget.com/
5
  Description: Display a single image super-fast loading Google map in a widget. A larger, full featured map is available in a lightbox. Includes a user-friendly interface and numerous appearance options.
6
  Author: Google Maps Widget
7
- Version: 4.02
8
  Author URI: https://www.gmapswidget.com/
9
  Text Domain: google-maps-widget
10
  Domain Path: lang
@@ -28,7 +28,7 @@ Domain Path: lang
28
 
29
  // this is an include only WP file
30
  if (!defined('ABSPATH')) {
31
- die;
32
  }
33
 
34
 
4
  Plugin URI: https://www.gmapswidget.com/
5
  Description: Display a single image super-fast loading Google map in a widget. A larger, full featured map is available in a lightbox. Includes a user-friendly interface and numerous appearance options.
6
  Author: Google Maps Widget
7
+ Version: 4.05
8
  Author URI: https://www.gmapswidget.com/
9
  Text Domain: google-maps-widget
10
  Domain Path: lang
28
 
29
  // this is an include only WP file
30
  if (!defined('ABSPATH')) {
31
+ wp_die('Do not load this file directly.');
32
  }
33
 
34
 
readme.txt CHANGED
@@ -1,11 +1,11 @@
1
  === Google Maps Widget - Best Google Maps Plugin ===
2
  Contributors: WebFactory, GoogleMapsWidget, WPReset, securityninja, underconstructionpage
3
- Tags: google maps, maps, map, map markers, google map, google maps plugin, wp google maps, wp google map, map plugin, directions, google map plugin, map widget
4
  License: GPLv2 or later
5
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
6
  Requires at least: 4.0
7
  Tested up to: 5.0
8
- Stable tag: 4.02
9
  Requires PHP: 5.2
10
 
11
  Google Maps taking forever to load? Try Google Maps Widget. You'll have a fast Google Map with a thumbnail & lightbox in minutes!
@@ -181,6 +181,10 @@ Try <a href="http://www.niftymaps.co">Nifty Maps</a> - a comprehensive Map Build
181
 
182
  == Changelog ==
183
 
 
 
 
 
184
  = 4.02 =
185
  * 2018/11/27
186
  * fixed vulnerability issue related to wp_redirect()
1
  === Google Maps Widget - Best Google Maps Plugin ===
2
  Contributors: WebFactory, GoogleMapsWidget, WPReset, securityninja, underconstructionpage
3
+ Tags: google maps, maps, map, google map, map markers, google maps plugin, wp google maps, wp google map, map plugin, directions, google map plugin, map widget
4
  License: GPLv2 or later
5
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
6
  Requires at least: 4.0
7
  Tested up to: 5.0
8
+ Stable tag: 4.05
9
  Requires PHP: 5.2
10
 
11
  Google Maps taking forever to load? Try Google Maps Widget. You'll have a fast Google Map with a thumbnail & lightbox in minutes!
181
 
182
  == Changelog ==
183
 
184
+ = 4.05 =
185
+ * 2019/01/08
186
+ * added Blue thumbnail color scheme
187
+
188
  = 4.02 =
189
  * 2018/11/27
190
  * fixed vulnerability issue related to wp_redirect()