Google Maps Widget – Ultimate Google Maps Plugin - Version 3.85

Version Description

  • 2018/05/03
  • added Bright thumbnail color scheme
Download this release

Release Info

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

Code changes from version 3.83 to 3.85

css/gmw-admin.css CHANGED
@@ -934,7 +934,7 @@ ul.ui-tabs-nav{
934
  }
935
 
936
  #gmw-pricing-table tr td:first-child {
937
- background-color: #0085ba;
938
  }
939
  #gmw-pricing-table tr td:nth-child(2) {
940
  background-color: #1fbc61;
@@ -1022,6 +1022,7 @@ ul.ui-tabs-nav{
1022
  text-align: center;
1023
  display: inline-block;
1024
  font-style: italic;
 
1025
  }
1026
 
1027
  .gmw-promo-button a {
934
  }
935
 
936
  #gmw-pricing-table tr td:first-child {
937
+ background-color: #0085ba;
938
  }
939
  #gmw-pricing-table tr td:nth-child(2) {
940
  background-color: #1fbc61;
1022
  text-align: center;
1023
  display: inline-block;
1024
  font-style: italic;
1025
+ margin: 0 -20px 10px -20px;
1026
  }
1027
 
1028
  .gmw-promo-button a {
gmw-widget.php CHANGED
@@ -154,7 +154,7 @@ class GoogleMapsWidget extends WP_Widget {
154
  array('val' => 'new', 'label' => __('Refreshed by Google', 'google-maps-widget')),
155
  array('val' => '-1', 'label' => __('Apple', 'google-maps-widget')),
156
  array('val' => '-1', 'label' => __('Blue', 'google-maps-widget')),
157
- array('val' => '-1', 'label' => __('Bright', 'google-maps-widget')),
158
  array('val' => 'gowalla', 'label' => __('Gowalla', 'google-maps-widget')),
159
  array('val' => '-1', 'label' => __('Gray', 'google-maps-widget')),
160
  array('val' => '-1', 'label' => __('Gray #2', 'google-maps-widget')),
@@ -495,7 +495,8 @@ class GoogleMapsWidget extends WP_Widget {
495
  $map_styles = array(
496
  'ultra_light' => 'style=feature:water|element:geometry|color:0xe9e9e9|lightness:17|&style=feature:landscape|element:geometry|color:0xf5f5f5|lightness:20|&style=feature:road.highway|element:geometry.fill|color:0xffffff|lightness:17|&style=feature:road.highway|element:geometry.stroke|color:0xffffff|lightness:29|weight:0.2|&style=feature:road.arterial|element:geometry|color:0xffffff|lightness:18|&style=feature:road.local|element:geometry|color:0xffffff|lightness:16|&style=feature:poi|element:geometry|color:0xf5f5f5|lightness:21|&style=feature:poi.park|element:geometry|color:0xdedede|lightness:21|&style=feature:all|element:labels.text.stroke|visibility:on|color:0xffffff|lightness:16|&style=feature:all|element:labels.text.fill|saturation:36|color:0x333333|lightness:40|&style=feature:all|element:labels.icon|visibility:off|&style=feature:transit|element:geometry|color:0xf2f2f2|lightness:19|&style=feature:administrative|element:geometry.fill|color:0xfefefe|lightness:20|&style=feature:administrative|element:geometry.stroke|color:0xfefefe|lightness:17|weight:1.2|',
497
  'gowalla' => 'style=feature:road|element:labels|visibility:simplified|lightness:20|&style=feature:administrative.land_parcel|element:all|visibility:off|&style=feature:landscape.man_made|element:all|visibility:off|&style=feature:transit|element:all|visibility:off|&style=feature:road.local|element:labels|visibility:simplified|&style=feature:road.local|element:geometry|visibility:simplified|&style=feature:road.highway|element:labels|visibility:simplified|&style=feature:poi|element:labels|visibility:off|&style=feature:road.arterial|element:labels|visibility:off|&style=feature:water|element:all|hue:0xa1cdfc|saturation:30|lightness:49|&style=feature:road.highway|element:geometry|hue:0xf49935|&style=feature:road.arterial|element:geometry|hue:0xfad959|',
498
- 'mapbox' => 'style=feature:water|element:all|saturation:43|lightness:-11|hue:0x0088ff|&style=feature:road|element:geometry.fill|hue:0xff0000|saturation:-100|lightness:99|&style=feature:road|element:geometry.stroke|color:0x808080|lightness:54|&style=feature:landscape.man_made|element:geometry.fill|color:0xece2d9|&style=feature:poi.park|element:geometry.fill|color:0xccdca1|&style=feature:road|element:labels.text.fill|color:0x767676|&style=feature:road|element:labels.text.stroke|color:0xffffff|&style=feature:poi|element:all|visibility:off|&style=feature:landscape.natural|element:geometry.fill|visibility:on|color:0xb8cb93|&style=feature:poi.park|element:all|visibility:on|&style=feature:poi.sports_complex|element:all|visibility:on|&style=feature:poi.medical|element:all|visibility:on|&style=feature:poi.business|element:all|visibility:simplified|');
 
499
 
500
  $map_src = '//maps.googleapis.com/maps/api/staticmap';
501
 
154
  array('val' => 'new', 'label' => __('Refreshed by Google', 'google-maps-widget')),
155
  array('val' => '-1', 'label' => __('Apple', 'google-maps-widget')),
156
  array('val' => '-1', 'label' => __('Blue', 'google-maps-widget')),
157
+ array('val' => 'bright', 'label' => __('Bright', 'google-maps-widget')),
158
  array('val' => 'gowalla', 'label' => __('Gowalla', 'google-maps-widget')),
159
  array('val' => '-1', 'label' => __('Gray', 'google-maps-widget')),
160
  array('val' => '-1', 'label' => __('Gray #2', 'google-maps-widget')),
495
  $map_styles = array(
496
  'ultra_light' => 'style=feature:water|element:geometry|color:0xe9e9e9|lightness:17|&style=feature:landscape|element:geometry|color:0xf5f5f5|lightness:20|&style=feature:road.highway|element:geometry.fill|color:0xffffff|lightness:17|&style=feature:road.highway|element:geometry.stroke|color:0xffffff|lightness:29|weight:0.2|&style=feature:road.arterial|element:geometry|color:0xffffff|lightness:18|&style=feature:road.local|element:geometry|color:0xffffff|lightness:16|&style=feature:poi|element:geometry|color:0xf5f5f5|lightness:21|&style=feature:poi.park|element:geometry|color:0xdedede|lightness:21|&style=feature:all|element:labels.text.stroke|visibility:on|color:0xffffff|lightness:16|&style=feature:all|element:labels.text.fill|saturation:36|color:0x333333|lightness:40|&style=feature:all|element:labels.icon|visibility:off|&style=feature:transit|element:geometry|color:0xf2f2f2|lightness:19|&style=feature:administrative|element:geometry.fill|color:0xfefefe|lightness:20|&style=feature:administrative|element:geometry.stroke|color:0xfefefe|lightness:17|weight:1.2|',
497
  'gowalla' => 'style=feature:road|element:labels|visibility:simplified|lightness:20|&style=feature:administrative.land_parcel|element:all|visibility:off|&style=feature:landscape.man_made|element:all|visibility:off|&style=feature:transit|element:all|visibility:off|&style=feature:road.local|element:labels|visibility:simplified|&style=feature:road.local|element:geometry|visibility:simplified|&style=feature:road.highway|element:labels|visibility:simplified|&style=feature:poi|element:labels|visibility:off|&style=feature:road.arterial|element:labels|visibility:off|&style=feature:water|element:all|hue:0xa1cdfc|saturation:30|lightness:49|&style=feature:road.highway|element:geometry|hue:0xf49935|&style=feature:road.arterial|element:geometry|hue:0xfad959|',
498
+ 'mapbox' => 'style=feature:water|element:all|saturation:43|lightness:-11|hue:0x0088ff|&style=feature:road|element:geometry.fill|hue:0xff0000|saturation:-100|lightness:99|&style=feature:road|element:geometry.stroke|color:0x808080|lightness:54|&style=feature:landscape.man_made|element:geometry.fill|color:0xece2d9|&style=feature:poi.park|element:geometry.fill|color:0xccdca1|&style=feature:road|element:labels.text.fill|color:0x767676|&style=feature:road|element:labels.text.stroke|color:0xffffff|&style=feature:poi|element:all|visibility:off|&style=feature:landscape.natural|element:geometry.fill|visibility:on|color:0xb8cb93|&style=feature:poi.park|element:all|visibility:on|&style=feature:poi.sports_complex|element:all|visibility:on|&style=feature:poi.medical|element:all|visibility:on|&style=feature:poi.business|element:all|visibility:simplified|',
499
+ '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|');
500
 
501
  $map_src = '//maps.googleapis.com/maps/api/staticmap';
502
 
google-maps-widget.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google Maps Widget
4
  Plugin URI: http://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: Web Factory Ltd
7
- Version: 3.83
8
  Author URI: http://www.webfactoryltd.com/
9
  Text Domain: google-maps-widget
10
  Domain Path: lang
@@ -535,7 +535,7 @@ class GMW {
535
 
536
  // upsell to old users
537
  if (!$notice && empty($options['dismiss_notice_olduser']) &&
538
- ((current_time('timestamp') - $options['first_install']) > (DAY_IN_SECONDS * 70))) {
539
  add_action('admin_notices', array('GMW', 'notice_olduser'));
540
  $notice = true;
541
  } // upsell to old users
@@ -845,7 +845,7 @@ class GMW {
845
  } else {
846
  $out .= '<div class="gmw-promo-button"><a href="http://www.gmapswidget.com/buy/?p=pro-agency&r=GMW+v' . GMW::$version . '" data-noprevent="1" target="_blank">BUY $79</a></div>';
847
  }
848
- $out .= '<span class="instant-download">Instant download &amp; activation directly from WordPress admin.<br>Secure payment process.</span>';
849
  $out .= '</td>';
850
  $out .= '<td>';
851
  if ($promo_active) {
@@ -855,10 +855,10 @@ class GMW {
855
  } else {
856
  $out .= '<div class="gmw-promo-button"><a href="http://www.gmapswidget.com/buy/?p=pro-unlimited2&r=GMW+v' . GMW::$version . '" data-noprevent="1" target="_blank">BUY $29</a></div>';
857
  }
858
- $out .= '<span class="instant-download">Instant download &amp; activation directly from WordPress admin.<br>Secure payment process.</span>';
859
  $out .= '</td>';
860
- $out .= '<td><div class="gmw-promo-button"><a href="http://www.gmapswidget.com/buy/?p=yearly&r=GMW+v' . GMW::$version . '" data-noprevent="1" target="_blank">$15 <small>/year</small></a></div>';
861
- $out .= '<span class="instant-download">Instant download &amp; activation directly from WordPress admin.<br>Secure payment process.</span>';
862
  $out .= '</td>';
863
  $out .= '</tr>';
864
  $out .= '</table>';
4
  Plugin URI: http://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: Web Factory Ltd
7
+ Version: 3.85
8
  Author URI: http://www.webfactoryltd.com/
9
  Text Domain: google-maps-widget
10
  Domain Path: lang
535
 
536
  // upsell to old users
537
  if (!$notice && empty($options['dismiss_notice_olduser']) &&
538
+ ((current_time('timestamp') - $options['first_install']) > (DAY_IN_SECONDS * 60))) {
539
  add_action('admin_notices', array('GMW', 'notice_olduser'));
540
  $notice = true;
541
  } // upsell to old users
845
  } else {
846
  $out .= '<div class="gmw-promo-button"><a href="http://www.gmapswidget.com/buy/?p=pro-agency&r=GMW+v' . GMW::$version . '" data-noprevent="1" target="_blank">BUY $79</a></div>';
847
  }
848
+ $out .= '<span class="instant-download"><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee<br><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation</span>';
849
  $out .= '</td>';
850
  $out .= '<td>';
851
  if ($promo_active) {
855
  } else {
856
  $out .= '<div class="gmw-promo-button"><a href="http://www.gmapswidget.com/buy/?p=pro-unlimited2&r=GMW+v' . GMW::$version . '" data-noprevent="1" target="_blank">BUY $29</a></div>';
857
  }
858
+ $out .= '<span class="instant-download"><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee<br><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation</span>';
859
  $out .= '</td>';
860
+ $out .= '<td><div class="gmw-promo-button"><a href="http://www.gmapswidget.com/buy/?p=yearly2&r=GMW+v' . GMW::$version . '" data-noprevent="1" target="_blank">$19 <small>/year</small></a></div>';
861
+ $out .= '<span class="instant-download"><span class="dashicons dashicons-yes"></span> 100% No-Risk Money Back Guarantee<br><span class="dashicons dashicons-yes"></span> Secure payment<br><span class="dashicons dashicons-yes"></span> Instant activation</span>';
862
  $out .= '</td>';
863
  $out .= '</tr>';
864
  $out .= '</table>';
js/gmw-admin.js CHANGED
@@ -419,7 +419,7 @@ jQuery(function($) {
419
  'dialogClass' : 'wp-dialog gmw-dialog',
420
  'modal' : true,
421
  'resizable': false,
422
- 'width': 850,
423
  'title': gmw.plugin_name,
424
  'autoOpen': false,
425
  'closeOnEscape': false,
419
  'dialogClass' : 'wp-dialog gmw-dialog',
420
  'modal' : true,
421
  'resizable': false,
422
+ 'width': 880,
423
  'title': gmw.plugin_name,
424
  'autoOpen': false,
425
  'closeOnEscape': false,
readme.txt CHANGED
@@ -5,7 +5,7 @@ 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: 4.9
8
- Stable tag: 3.83
9
  Requires PHP: 5.2
10
 
11
  Tired of broken Google Maps taking hours to setup? With Google Maps Widget you'll have a perfect map with a thumbnail & lightbox in minutes!
@@ -159,6 +159,10 @@ Read the <a href="http://wordpress.org/support/plugin/google-maps-widget">suppor
159
 
160
  == Changelog ==
161
 
 
 
 
 
162
  = 3.83 =
163
  * 2018/02/26
164
  * pushing strong on translations!
5
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
6
  Requires at least: 4.0
7
  Tested up to: 4.9
8
+ Stable tag: 3.85
9
  Requires PHP: 5.2
10
 
11
  Tired of broken Google Maps taking hours to setup? With Google Maps Widget you'll have a perfect map with a thumbnail & lightbox in minutes!
159
 
160
  == Changelog ==
161
 
162
+ = 3.85 =
163
+ * 2018/05/03
164
+ * added Bright thumbnail color scheme
165
+
166
  = 3.83 =
167
  * 2018/02/26
168
  * pushing strong on translations!