Google Maps Widget – Ultimate Google Maps Plugin - Version 4.0

Version Description

  • 2018/09/18
  • added Gray thumbnail color scheme
  • added Hide Widget Title option
  • 1,645,000 downloads
Download this release

Release Info

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

Code changes from version 3.95 to 4.0

Files changed (3) hide show
  1. gmw-widget.php +14 -3
  2. google-maps-widget.php +1 -1
  3. readme.txt +209 -38
gmw-widget.php CHANGED
@@ -35,6 +35,7 @@ class GoogleMapsWidget extends WP_Widget {
35
  'thumb_format' => 'png',
36
  'thumb_lang' => 'en',
37
  'thumb_powered_by' => '0',
 
38
  'lightbox_width' => '550',
39
  'lightbox_height' => '550',
40
  'lightbox_fullscreen' => '0',
@@ -156,7 +157,7 @@ class GoogleMapsWidget extends WP_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')),
161
  array('val' => '-1', 'label' => __('Light', 'google-maps-widget')),
162
  array('val' => 'mapbox', 'label' => __('Mapbox', 'google-maps-widget')),
@@ -175,6 +176,9 @@ class GoogleMapsWidget extends WP_Widget {
175
 
176
  $thumb_powered_bys = array(array('val' => '0', 'label' => __('No, I do not want to do that', 'google-maps-widget')),
177
  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')));
 
 
 
178
 
179
  $lightbox_langs = array(array('val' => 'en', 'label' => 'English'),
180
  array('val' => '-1', 'label' => __('Add auto-detection and 50 more languages', 'google-maps-widget')));
@@ -307,6 +311,11 @@ class GoogleMapsWidget extends WP_Widget {
307
  GMW::create_select_options($thumb_langs, $thumb_lang);
308
  echo '</select></p>';
309
 
 
 
 
 
 
310
  echo '<p><label class="gmw-label" for="' . $this->get_field_id('thumb_powered_by') . '">' . __('Show Appreciation', 'google-maps-widget') . ':</label>';
311
  echo '<select data-tooltip="Please help others learn about GMW by placing a tiny link below the map. Thank you very much!" id="' . $this->get_field_id('thumb_powered_by') . '" name="' . $this->get_field_name('thumb_powered_by') . '">';
312
  GMW::create_select_options($thumb_powered_bys, $thumb_powered_by);
@@ -460,6 +469,7 @@ class GoogleMapsWidget extends WP_Widget {
460
  $instance['thumb_format'] = $new_instance['thumb_format'];
461
  $instance['thumb_lang'] = $new_instance['thumb_lang'];
462
  $instance['thumb_powered_by'] = $new_instance['thumb_powered_by'];
 
463
 
464
  $instance['lightbox_fullscreen'] = (int) $new_instance['lightbox_fullscreen'];
465
  $instance['lightbox_width'] = min(2000, max(50, (int) $new_instance['lightbox_width']));
@@ -504,7 +514,8 @@ class GoogleMapsWidget extends WP_Widget {
504
  '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|',
505
  '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|',
506
  '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|',
507
- 'neon' => 'style=saturation:100|gamma:0.6');
 
508
 
509
  $map_src = '//maps.googleapis.com/maps/api/staticmap';
510
 
@@ -545,7 +556,7 @@ class GoogleMapsWidget extends WP_Widget {
545
 
546
  // add widget title; respect sidebar markup
547
  $title = empty($instance['title'])? '' : apply_filters('widget_title', $instance['title']);
548
- if (!empty($title)) {
549
  $out .= $widget['before_title'] . $title . $widget['after_title'];
550
  }
551
 
35
  'thumb_format' => 'png',
36
  'thumb_lang' => 'en',
37
  'thumb_powered_by' => '0',
38
+ 'thumb_hide_title' => '0',
39
  'lightbox_width' => '550',
40
  'lightbox_height' => '550',
41
  'lightbox_fullscreen' => '0',
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')),
161
  array('val' => '-1', 'label' => __('Gray #2', 'google-maps-widget')),
162
  array('val' => '-1', 'label' => __('Light', 'google-maps-widget')),
163
  array('val' => 'mapbox', 'label' => __('Mapbox', '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')));
311
  GMW::create_select_options($thumb_langs, $thumb_lang);
312
  echo '</select></p>';
313
 
314
+ echo '<p><label class="gmw-label" for="' . $this->get_field_id('thumb_hide_title') . '">' . __('Hide Widget Title', 'google-maps-widget') . ':</label>';
315
+ echo '<select data-tooltip="You can define a title for easier widgets management in admin but hide it with this option when the widget is displayed on site." id="' . $this->get_field_id('thumb_hide_title') . '" name="' . $this->get_field_name('thumb_hide_title') . '">';
316
+ GMW::create_select_options($hide_titles, $thumb_hide_title);
317
+ echo '</select></p>';
318
+
319
  echo '<p><label class="gmw-label" for="' . $this->get_field_id('thumb_powered_by') . '">' . __('Show Appreciation', 'google-maps-widget') . ':</label>';
320
  echo '<select data-tooltip="Please help others learn about GMW by placing a tiny link below the map. Thank you very much!" id="' . $this->get_field_id('thumb_powered_by') . '" name="' . $this->get_field_name('thumb_powered_by') . '">';
321
  GMW::create_select_options($thumb_powered_bys, $thumb_powered_by);
469
  $instance['thumb_format'] = $new_instance['thumb_format'];
470
  $instance['thumb_lang'] = $new_instance['thumb_lang'];
471
  $instance['thumb_powered_by'] = $new_instance['thumb_powered_by'];
472
+ $instance['thumb_hide_title'] = $new_instance['thumb_hide_title'];
473
 
474
  $instance['lightbox_fullscreen'] = (int) $new_instance['lightbox_fullscreen'];
475
  $instance['lightbox_width'] = min(2000, max(50, (int) $new_instance['lightbox_width']));
514
  '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|',
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
 
556
 
557
  // add widget title; respect sidebar markup
558
  $title = empty($instance['title'])? '' : apply_filters('widget_title', $instance['title']);
559
+ if (!empty($title) && empty($instance['thumb_hide_title'])) {
560
  $out .= $widget['before_title'] . $title . $widget['after_title'];
561
  }
562
 
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: 3.95
8
  Author URI: https://www.gmapswidget.com/
9
  Text Domain: google-maps-widget
10
  Domain Path: lang
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.0
8
  Author URI: https://www.gmapswidget.com/
9
  Text Domain: google-maps-widget
10
  Domain Path: lang
readme.txt CHANGED
@@ -1,14 +1,14 @@
1
  === Google Maps Widget - Best Google Maps Plugin ===
2
- Contributors: WebFactory, GoogleMapsWidget, WPReset, 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: 4.9
8
- Stable tag: 3.95
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!
12
 
13
  == Description ==
14
 
@@ -30,7 +30,7 @@ Google Maps Widget thumbnail uses the Google Maps Static Maps API. It loads the
30
 
31
  * Custom google map size - map width & map height
32
  * Choose any google map type you prefer - road map, satellite map, terrain map & hybrid map
33
- * Plenty of google map color schemes - default, bright, gowalla, midnight, refreshed, ultra light, mapbox + 11 extra & any custom google map style in PRO
34
  * zoom level
35
  * pin type
36
  * pin color
@@ -41,6 +41,7 @@ Google Maps Widget thumbnail uses the Google Maps Static Maps API. It loads the
41
  * link type - lightbox map, custom URL, replace thumbnail map with interactive google map (PRO), immediately show interactive google map (PRO) or disable link
42
  * image format
43
  * google map language
 
44
  * text above google map
45
  * text below google map
46
 
@@ -146,40 +147,48 @@ If that didn't help read our detailed guide on <a href="https://www.gmapswidget.
146
  = Google map thumbnail works but lightbox won't open on click =
147
 
148
  You probably have Fancybox JS and CSS files included twice; once by the theme and second time by Google Maps Widget plugin. Remove one instance of files. If that's not the case then you have a fatal JS error that's preventing execution of other JS code. Hit F12 in Firefox or Chrome and have a look at the debug console. If there are any red lines - it's a fatal error.
149
- Open a new thread in the <a href="http://wordpress.org/support/plugin/google-maps-widget">support forums</a> but please bear in mind that support is community based and we do this in our spare time.
150
 
151
  = The Google map is not working!!! Arrrrrrrrr =
152
 
153
- = How do I get WP Google Maps Pro? =
154
- Simply visit http://www.wpgmaps.com and purchase the WP Google Maps Professional Edition for $39.99 once off. Free updates and support included forever.
 
 
 
155
 
156
  = I've installed the plugin, now what? =
157
- Once installed and activated, a link should appear in your left navigation panel within your WP-ADMIN section. Click on the "WP Google Maps" link and follow the on screen instructions.
 
158
 
159
  = How do I put a Google map on my page/post? =
160
- In order to show your custom Google map on your page or post, simply copy the shortcode supplied and paste it into your page or post. WP Google Maps will automatically configure the map to the settings you selected in the map edit page.
161
 
162
- = How do I add a map widget to my widget area? =
163
- To add your map to your widgets area, simply go to Appearance->Widgets and drag the "WP Google Maps" Map Widget to your sidebar. You then edit the map widget to reflect the correct map.
 
164
 
165
- = I want to use this but I dont have WordPress =
166
- Try [Nifty Maps](http://www.niftymaps.co) - Comprehensive Map Builder for all websites
167
 
168
- Read the <a href="http://wordpress.org/support/plugin/google-maps-widget">support forum</a> rules (no seriously, read them) and then if needed open new a thread.
169
 
170
  == Screenshots ==
171
 
172
- 1. Google Maps - Simple & fast - you'll have a great google map working in under a minute
173
- 2. Google Maps - Thumbnail map is shown as a widget and since it's just one image it loads super-fast (1 request, about 20KB)
174
- 3. Google Maps - Larger map with all interactive features is available in the lightbox
175
- 4. Google Maps - Widget options - Thumbnail map
176
- 5. Google Maps - Widget options - Interactive map
177
- 6. Google Maps - Widget options - Shortcode
178
- 7. Google Maps - Thumbnail map - light color scheme
179
 
180
  == Changelog ==
181
 
 
 
 
 
 
 
182
  = 3.95 =
 
183
  * yearly prices test; $19 -> $18.99
184
  * integrated GR popup in admin
185
  * removed /lang/ folder
@@ -187,178 +196,299 @@ Read the <a href="http://wordpress.org/support/plugin/google-maps-widget">suppor
187
  * removed test API keys - all maps now need a valid API key
188
 
189
  = 3.90 =
 
190
  * added Midnight thumbnail map color scheme
191
  * new prices for lifetime license
192
  * we're at 1,550,000 downloads
193
 
194
  = 3.85 =
195
- * added Bright thumbnail map color scheme
 
196
 
197
  = 3.83 =
 
198
  * pushing strong on translations!
199
- * added Gowalla thumbnail map color scheme
200
 
201
  = 3.80 =
 
202
  * translations are going great thanks to our helpful users!
203
  * problems with API keys continue due to users who refuse to create their own keys :(
204
 
205
  = 3.75 =
206
- * added Mapbox thumbnail map color scheme
 
 
 
207
  * lower agency price from 08/01/2017
208
 
 
 
 
 
 
 
 
 
 
 
 
209
  = 3.60 =
 
210
  * minor improvements
211
  * new pricing table
212
 
 
 
 
 
 
 
 
 
 
213
  = 3.50 =
214
- * lower Google Maps Widget PRO prices
 
 
 
 
 
 
215
 
216
  = 3.47 =
 
 
217
  * API improvements
218
 
 
 
 
 
 
 
219
  = 3.40 =
220
- * changes in prices for Google Maps Widget PRO
 
 
221
 
222
  = 3.39 =
223
- * fix for google maps API "over quota limit" error some users were getting
 
 
 
 
 
 
 
 
 
224
 
225
  = 3.35 =
 
 
226
  * new static map color scheme
227
  * big cleanup - plugin footprint reduced by half
228
 
229
  = 3.30 =
 
 
230
  * WP v4.5 updates
231
 
 
 
 
 
 
 
232
  = 3.20 =
 
233
  * new map pins
 
234
 
235
  = 3.15 =
236
- * map widgets can now be cloned
 
 
237
 
238
  = 3.10 =
 
239
  * security enhancements
240
 
241
  = 3.05 =
 
 
242
  * added google maps API key tester
243
 
244
  = 3.04 =
 
245
  * added more detailed instructions on how to generate the API key
 
246
 
247
  = 3.0 =
248
- * huge upgrade - numerous google map functions added
 
249
  * switched to new Google Maps API
250
 
 
 
 
 
 
251
  = 2.90 =
 
252
  * added option for donating
253
  * checked WP v4.4 compatibility
254
 
255
  = 2.85 =
 
256
  * enhancements in PHP
257
 
258
  = 2.80 =
 
259
  * fixed a big bug in JS (widget admin UI init)
260
 
261
  = 2.75 =
 
262
  * minor JS tweaks and bug fixes
263
 
264
  = 2.70 =
 
265
  * fixed a nasty bug with shortcode rendering (thanks Hey You!)
266
  * JS and CSS fixes for widget UI in the theme customizer
267
 
268
  = 2.66 =
 
 
269
  * we'll be soon removing all PO files from the plugin since the strings were merged into the official WP translate project
270
 
271
  = 2.60 =
 
272
  * added data validation on input fields
273
  * minor CSS tweaks
274
 
275
  = 2.51 =
 
276
  * updated PHP4 style class constructor to PHP5 one
277
  * lowered cron for tracking to once every 14 days
278
  * did some prep work for the upcoming 4.3 version of WP
279
 
280
  = 2.45 =
 
281
  * fixed a bug on notice dismiss action
282
  * added Russian translation - thanks Ivanka!
283
 
284
  = 2.40 =
 
 
285
  * admin JS completely rebuilt
286
  * fixed PO file
287
  * we broke 90,000 installations ;)
288
 
289
  = 2.35 =
 
 
290
  * WP v4.2 compatibility checked
291
  * remove_query_arg() security issue fixed
292
- * we broke 500,000 downloads for Google Maps Widget ;)
293
 
294
  = 2.30 =
 
295
  * JS rewrites
 
296
 
297
  = 2.25 =
 
298
  * a few visual enhancements
299
  * new screenshots
300
  * shortcode name availability is checked before registering it
301
  * visual builder compatibility fix
302
 
303
  = 2.20 =
 
304
  * added shortcode support
305
 
306
  = 2.15 =
 
307
  * fixed a _plugin_deactivate_ bug nobody noticed for 2 years :(
308
  * all JS texts are now loaded via wp_localize_script()
309
 
310
  = 2.10 =
 
311
  * auto-adjust map size on smaller screens - thanks bruzm!
312
  * marked each widget with core version for future updates
313
 
314
  = 2.06 =
 
315
  * language file updated
316
  * preparing for JS rewrite
317
 
318
  = 2.05 =
 
319
  * code rewriting
 
320
 
321
  = 2.01 =
 
322
  * somehow one JS file got renamed :(
323
 
324
  = 2.0 =
 
325
  * lots of rewrites
326
  * additional features can now be activated by subscribing to our newsletter
327
 
 
 
 
 
328
  = 1.93 =
329
- * we can no longer offer discounts for our Envato products in Google Maps Widget
 
330
  * so no changes to the plugin, just some messages edited
331
 
332
  = 1.92 =
 
333
  * minor bug fixes
334
  * preparations for admin JS rewrite
335
 
336
  = 1.90 =
 
337
  * added Serbian translation; thanks Ogi!
338
 
339
  = 1.86 =
 
340
  * updated POT file
341
  * updated Croatian translation
342
 
343
  = 1.85 =
 
344
  * added custom pin image option for thumbnail map - thanks Rudloff!
345
 
 
 
 
 
346
  = 1.75 =
 
347
  * lightbox skins are back; light and dark for now, more coming soon
348
  * updated lightbox jS
349
 
350
  = 1.70 =
351
- * fixed a small bug on thumbnail map
 
352
  * finished up a todo
353
 
354
  = 1.65 =
 
355
  * finished up a few todos
356
 
357
  = 1.60 =
 
358
  * update for WordPress v3.9, widget edit GUI now works in theme customizer
359
  * if you run into any issues please report them in the support forums
360
 
361
  = 1.55 =
 
362
  * fixed shortcode handling in map's header & footer
363
  * added Ukrainian translation - thank you Victor Shutovskiy!
364
 
@@ -369,113 +499,150 @@ Read the <a href="http://wordpress.org/support/plugin/google-maps-widget">suppor
369
  * still working on those lightbox skins, sorry :(
370
 
371
  = 1.47 =
372
- * working on those google map lightbox skins :)
 
 
373
 
374
  = 1.45 =
 
375
  * switched to <a href="http://www.jacklmoore.com/colorbox/">Colorbox</a> lightbox script
376
  * lightbox skin is still temporarily unavailable
377
 
378
  = 1.40 =
 
379
  * due to licensing issues switched to FancyBox v1.3.4
380
  * lightbox skin is temporarily unavailable
381
  * minor bug fix related to activate/upgrade hook calls
382
 
383
  = 1.35 =
384
- * added optional plugin usage tracking (<a href="https://www.gmapswidget.com/plugin-tracking-info/">detailed info</a>)
 
385
 
386
  = 1.31 =
 
387
  * WP v3.8.1 compatibility check
388
 
389
  = 1.30 =
 
390
  * added Dutch translation; thank you Arno!
391
 
392
  = 1.25 =
 
393
  * preparations for opt-in plugin usage tracking
394
  * Spanish translation updated; thanks Jesus!
395
 
396
  = 1.20 =
 
397
  * WP v3.8 update
398
  * language files update
399
 
400
  = 1.15 =
 
401
  * 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
402
 
403
  = 1.10 =
 
404
  * added option for thumbnail map to use the new look/color scheme
405
 
406
  = 1.05 =
 
407
  * added Chinese traditional translation; thanks Wyeoh
408
 
409
  = 1.0 =
 
410
  * WP 3.7 compatibility check
411
  * added Chinese simplified translation; thanks Wyeoh
412
 
413
  = 0.95 =
 
414
  * added French translation; thanks Karimba
415
 
416
  = 0.90 =
 
417
  * added German translation; thanks Karimba
418
  * we reached 100k downloads ;)
419
 
420
  = 0.86 =
 
421
  * fixed a few strict standards errors; thanks Jay!
422
 
423
  = 0.85 =
 
424
  * added Croatian translation; thank you Gordan
425
 
426
  = 0.80 =
 
427
  * minor translation fixes
428
  * added Spanish translation; thank you Jesus!
429
 
430
  = 0.75 =
 
431
  * map language is autodetected based on user's browser language (HTTP_ACCEPT_LANGUAGE header)
432
  * added Swedish translation; thank you Sofia!
433
  * German and Croatian translations will be up next
434
 
435
  = 0.71 =
 
436
  * few more preparations for translation
437
  * Swedish translation coming in a few days
438
 
439
  = 0.70 =
 
440
  * prepared everything for translation, POT file is available and all strings are wrapped in <i>__()</i>
441
- * protocols should now match http/https for both thumbnail map and ligtbox map
442
- * <a href="https://www.gmapswidget.com/">www.gmapswidget.com</a> is up and running
443
 
444
  = 0.65 =
 
445
  * updated JS for WP v3.6
446
 
447
  = 0.60 =
 
448
  * fixed zoom bug in lightbox
449
 
450
  = 0.55 =
 
451
  * added 2 new options - text above and below thumbnail map
452
  * updated fancyBox JS to the latest version
 
453
 
454
  = 0.50 =
 
455
  * small WP 3.5 compatibility fixes
456
 
 
 
 
 
457
  = 0.4 =
 
458
  * fixed non UTF-8 address bug
459
 
460
  = 0.37 =
 
461
  * fixed bug to use google.com instead of google.co.uk
462
 
463
  = 0.35 =
 
464
  * added 4 skins for lightbox
465
 
466
  = 0.31 =
 
467
  * fix for bad themes which don't respect proper sidebar markup
468
 
469
  = 0.3 =
 
470
  * lightbox script changed from jQuery UI Dialog to <a href="http://fancyapps.com/fancybox/">fancyBox2</a>
471
  * added "show map title on lightbox" option
472
  * significant speed improvements
473
- * preparations for google map lightbox skins
474
 
475
  = 0.22 =
 
476
  * Fixed small JS related GUI bug
477
 
478
  = 0.2 =
 
479
  * Complete GUI rewrite
480
  * Added header text option
481
  * Added address bubble visibility option
@@ -483,14 +650,18 @@ Read the <a href="http://wordpress.org/support/plugin/google-maps-widget">suppor
483
  * Fixed lightbox map size bug
484
 
485
  = 0.13 =
 
486
  * Added pin size for thumbnail map
487
 
488
  = 0.12 =
 
489
  * Added pin color for thumbnail map
490
  * Fixed a few minor bugs
491
 
492
  = 0.11 =
 
493
  * Fixed a few minor bugs
494
 
495
  = 0.1 =
496
- * Initial release of Google Maps Widget
 
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: 4.9
8
+ Stable tag: 4.0
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!
12
 
13
  == Description ==
14
 
30
 
31
  * Custom google map size - map width & map height
32
  * Choose any google map type you prefer - road map, satellite map, terrain map & hybrid map
33
+ * Plenty of google map color schemes - default, bright, gowalla, gray, midnight, refreshed, ultra light, mapbox + 11 extra & any custom google map style in PRO
34
  * zoom level
35
  * pin type
36
  * pin color
41
  * link type - lightbox map, custom URL, replace thumbnail map with interactive google map (PRO), immediately show interactive google map (PRO) or disable link
42
  * image format
43
  * google map language
44
+ * hide widget title
45
  * text above google map
46
  * text below google map
47
 
147
  = Google map thumbnail works but lightbox won't open on click =
148
 
149
  You probably have Fancybox JS and CSS files included twice; once by the theme and second time by Google Maps Widget plugin. Remove one instance of files. If that's not the case then you have a fatal JS error that's preventing execution of other JS code. Hit F12 in Firefox or Chrome and have a look at the debug console. If there are any red lines - it's a fatal error.
 
150
 
151
  = The Google map is not working!!! Arrrrrrrrr =
152
 
153
+ Open a new thread in the <a href="http://wordpress.org/support/plugin/google-maps-widget">support forums</a> but please bear in mind that support is community based and we do this in our spare time.
154
+
155
+ = How do I get Google Maps Widget Pro? =
156
+
157
+ Simply visit <a href="https://www.gmapswidget.com">gmapswidget.com</a> and purchase the GMW PRO. Yearly and lifetime licenses are available.
158
 
159
  = I've installed the plugin, now what? =
160
+
161
+ In WordPress admin open Appearance - Widgets and add a Google Maps Widget to a sidebar. And make sure you follow instructions on how to generate a Google Maps API key. Without it maps won't work.
162
 
163
  = How do I put a Google map on my page/post? =
 
164
 
165
+ In order to show your Google map in your page or post, simply copy the shortcode supplied and paste it into your page or post. This feature is available only in GMW PRO.
166
+
167
+ = I want to use Google Maps but don't have WordPress =
168
 
169
+ Try <a href="http://www.niftymaps.co">Nifty Maps</a> - a comprehensive Map Builder for any website
 
170
 
 
171
 
172
  == Screenshots ==
173
 
174
+ 1. Simple & fast - you'll have a great google map working in under a minute
175
+ 2. Thumbnail map is shown as a widget and since it's just one image it loads super-fast (1 request, about 20KB)
176
+ 3. Larger map with all interactive features is available in the lightbox
177
+ 4. Widget options - Thumbnail map
178
+ 5. Widget options - Interactive map
179
+ 6. Widget options - Shortcode
180
+ 7. Thumbnail map - light color scheme
181
 
182
  == Changelog ==
183
 
184
+ = 4.0 =
185
+ * 2018/09/18
186
+ * added Gray thumbnail color scheme
187
+ * added Hide Widget Title option
188
+ * 1,645,000 downloads
189
+
190
  = 3.95 =
191
+ * 2018/07/12
192
  * yearly prices test; $19 -> $18.99
193
  * integrated GR popup in admin
194
  * removed /lang/ folder
196
  * removed test API keys - all maps now need a valid API key
197
 
198
  = 3.90 =
199
+ * 2018/05/29
200
  * added Midnight thumbnail map color scheme
201
  * new prices for lifetime license
202
  * we're at 1,550,000 downloads
203
 
204
  = 3.85 =
205
+ * 2018/05/03
206
+ * added Bright thumbnail color scheme
207
 
208
  = 3.83 =
209
+ * 2018/02/26
210
  * pushing strong on translations!
211
+ * added Gowalla thumbnail color scheme
212
 
213
  = 3.80 =
214
+ * 2018/02/07
215
  * translations are going great thanks to our helpful users!
216
  * problems with API keys continue due to users who refuse to create their own keys :(
217
 
218
  = 3.75 =
219
+ * 2017/12/25
220
+ * continuing with translation efforts
221
+ * added Mapbox thumbnail color scheme
222
+ * plugin name changed to test for better search position
223
  * lower agency price from 08/01/2017
224
 
225
+ = 3.70 =
226
+ * 2017/12/05
227
+ * Russian translation is at 100%
228
+ * continuing with translation efforts
229
+ * fixed a few small JS bugs
230
+
231
+ = 3.65 =
232
+ * 2017/11/17
233
+ * updates for WP 4.9
234
+ * continuing with translation
235
+
236
  = 3.60 =
237
+ * 2017/09/04
238
  * minor improvements
239
  * new pricing table
240
 
241
+ = 3.58 =
242
+ * 2017/07/11
243
+ * fixed bug on <img> width & height
244
+
245
+ = 3.55 =
246
+ * 2017/05/08
247
+ * minor bug fixes
248
+ * trial is no longer available from the plugin
249
+
250
  = 3.50 =
251
+ * 2017/02/17
252
+ * minor bug fixes
253
+ * lower PRO prices
254
+
255
+ = 3.49 =
256
+ * 2017/01/16
257
+ * minor bug fixes
258
 
259
  = 3.47 =
260
+ * 2017/01/03
261
+ * minor bug fixes
262
  * API improvements
263
 
264
+ = 3.45 =
265
+ * 2016/10/24
266
+ * new prices, trial 14 days
267
+ * welcome pointer added
268
+ * minor bug fixes
269
+
270
  = 3.40 =
271
+ * 2016/08/21
272
+ * minor bug fixes
273
+ * changes in prices for PRO
274
 
275
  = 3.39 =
276
+ * 2016/07/10
277
+ * fix for "over quota limit" error some users were getting
278
+
279
+ = 3.38 =
280
+ * 2016/06/23
281
+ * just a few bug fixes
282
+
283
+ = 3.36 =
284
+ * 2016/05/11
285
+ * minor bug fixes
286
 
287
  = 3.35 =
288
+ * 2016/04/30
289
+ * bug fixes
290
  * new static map color scheme
291
  * big cleanup - plugin footprint reduced by half
292
 
293
  = 3.30 =
294
+ * 2016/04/14
295
+ * bug fixes
296
  * WP v4.5 updates
297
 
298
+ = 3.25 =
299
+ * 2016/03/24
300
+ * even more new map pins
301
+ * bug fixes
302
+ * 7 days trial can now be activated within the plugin
303
+
304
  = 3.20 =
305
+ * 2016/03/10
306
  * new map pins
307
+ * bug fixes
308
 
309
  = 3.15 =
310
+ * 2016/03/07
311
+ * widgets can now be cloned
312
+ * minor fixes
313
 
314
  = 3.10 =
315
+ * 2016/02/23
316
  * security enhancements
317
 
318
  = 3.05 =
319
+ * 2016/02/19
320
+ * few minor bug fixes
321
  * added google maps API key tester
322
 
323
  = 3.04 =
324
+ * 2016/02/17
325
  * added more detailed instructions on how to generate the API key
326
+ * few minor bug fixes
327
 
328
  = 3.0 =
329
+ * 2016/02/16
330
+ * huge upgrade - numerous functions added
331
  * switched to new Google Maps API
332
 
333
+ = 2.92 =
334
+ * 2016/01/14
335
+ * we made it to 100 thousand active installations ;)
336
+ * minor bug fixes
337
+
338
  = 2.90 =
339
+ * 2015/12/14
340
  * added option for donating
341
  * checked WP v4.4 compatibility
342
 
343
  = 2.85 =
344
+ * 2015/12/02
345
  * enhancements in PHP
346
 
347
  = 2.80 =
348
+ * 2015/11/18
349
  * fixed a big bug in JS (widget admin UI init)
350
 
351
  = 2.75 =
352
+ * 2015/10/26
353
  * minor JS tweaks and bug fixes
354
 
355
  = 2.70 =
356
+ * 2015/10/12
357
  * fixed a nasty bug with shortcode rendering (thanks Hey You!)
358
  * JS and CSS fixes for widget UI in the theme customizer
359
 
360
  = 2.66 =
361
+ * 2015/10/05
362
+ * minor bug fixes
363
  * we'll be soon removing all PO files from the plugin since the strings were merged into the official WP translate project
364
 
365
  = 2.60 =
366
+ * 2015/08/31
367
  * added data validation on input fields
368
  * minor CSS tweaks
369
 
370
  = 2.51 =
371
+ * 2015/07/27
372
  * updated PHP4 style class constructor to PHP5 one
373
  * lowered cron for tracking to once every 14 days
374
  * did some prep work for the upcoming 4.3 version of WP
375
 
376
  = 2.45 =
377
+ * 2015/06/15
378
  * fixed a bug on notice dismiss action
379
  * added Russian translation - thanks Ivanka!
380
 
381
  = 2.40 =
382
+ * 2015/05/25
383
+ * few small bugs fixed
384
  * admin JS completely rebuilt
385
  * fixed PO file
386
  * we broke 90,000 installations ;)
387
 
388
  = 2.35 =
389
+ * 2015/04/27
390
+ * few small bugs fixed
391
  * WP v4.2 compatibility checked
392
  * remove_query_arg() security issue fixed
393
+ * we broke 500,000 downloads ;)
394
 
395
  = 2.30 =
396
+ * 2015/03/02
397
  * JS rewrites
398
+ * few small bugs fixed
399
 
400
  = 2.25 =
401
+ * 2015/02/23
402
  * a few visual enhancements
403
  * new screenshots
404
  * shortcode name availability is checked before registering it
405
  * visual builder compatibility fix
406
 
407
  = 2.20 =
408
+ * 2015/02/16
409
  * added shortcode support
410
 
411
  = 2.15 =
412
+ * 2015/02/09
413
  * fixed a _plugin_deactivate_ bug nobody noticed for 2 years :(
414
  * all JS texts are now loaded via wp_localize_script()
415
 
416
  = 2.10 =
417
+ * 2015/02/02
418
  * auto-adjust map size on smaller screens - thanks bruzm!
419
  * marked each widget with core version for future updates
420
 
421
  = 2.06 =
422
+ * 2015/01/26
423
  * language file updated
424
  * preparing for JS rewrite
425
 
426
  = 2.05 =
427
+ * 2015/01/19
428
  * code rewriting
429
+ * minor bug fixes
430
 
431
  = 2.01 =
432
+ * 2015/01/13
433
  * somehow one JS file got renamed :(
434
 
435
  = 2.0 =
436
+ * 2015/01/13
437
  * lots of rewrites
438
  * additional features can now be activated by subscribing to our newsletter
439
 
440
+ = 1.95 =
441
+ * 2014/12/19
442
+ * minor WP v4.1 updates
443
+
444
  = 1.93 =
445
+ * 2014/12/03
446
+ * we can no longer offer discounts for our Envato products in GMW
447
  * so no changes to the plugin, just some messages edited
448
 
449
  = 1.92 =
450
+ * 2014/11/12
451
  * minor bug fixes
452
  * preparations for admin JS rewrite
453
 
454
  = 1.90 =
455
+ * 2014/10/20
456
  * added Serbian translation; thanks Ogi!
457
 
458
  = 1.86 =
459
+ * 2014/10/12
460
  * updated POT file
461
  * updated Croatian translation
462
 
463
  = 1.85 =
464
+ * 2014/09/22
465
  * added custom pin image option for thumbnail map - thanks Rudloff!
466
 
467
+ = 1.80 =
468
+ * 2014/09/08
469
+ * minor updates for WordPress v4.0
470
+
471
  = 1.75 =
472
+ * 2014/07/29
473
  * lightbox skins are back; light and dark for now, more coming soon
474
  * updated lightbox jS
475
 
476
  = 1.70 =
477
+ * 2014/07/10
478
+ * fixed a small bug on thumbnail
479
  * finished up a todo
480
 
481
  = 1.65 =
482
+ * 2014/05/06
483
  * finished up a few todos
484
 
485
  = 1.60 =
486
+ * 2014/04/17
487
  * update for WordPress v3.9, widget edit GUI now works in theme customizer
488
  * if you run into any issues please report them in the support forums
489
 
490
  = 1.55 =
491
+ * 2014/04/07
492
  * fixed shortcode handling in map's header & footer
493
  * added Ukrainian translation - thank you Victor Shutovskiy!
494
 
499
  * still working on those lightbox skins, sorry :(
500
 
501
  = 1.47 =
502
+ * 2014/03/05
503
+ * minor bug fix
504
+ * working on those lightbox skins :)
505
 
506
  = 1.45 =
507
+ * 2014/03/04
508
  * switched to <a href="http://www.jacklmoore.com/colorbox/">Colorbox</a> lightbox script
509
  * lightbox skin is still temporarily unavailable
510
 
511
  = 1.40 =
512
+ * 2014/02/10
513
  * due to licensing issues switched to FancyBox v1.3.4
514
  * lightbox skin is temporarily unavailable
515
  * minor bug fix related to activate/upgrade hook calls
516
 
517
  = 1.35 =
518
+ * 2014/02/05
519
+ * added optional plugin usage tracking (<a href="http://www.gmapswidget.com/plugin-tracking-info/">detailed info</a>)
520
 
521
  = 1.31 =
522
+ * 2014/02/03
523
  * WP v3.8.1 compatibility check
524
 
525
  = 1.30 =
526
+ * 2014/01/16
527
  * added Dutch translation; thank you Arno!
528
 
529
  = 1.25 =
530
+ * 2014/01/03
531
  * preparations for opt-in plugin usage tracking
532
  * Spanish translation updated; thanks Jesus!
533
 
534
  = 1.20 =
535
+ * 2013/12/17
536
  * WP v3.8 update
537
  * language files update
538
 
539
  = 1.15 =
540
+ * 2013/11/25
541
  * 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
542
 
543
  = 1.10 =
544
+ * 2013/11/18
545
  * added option for thumbnail map to use the new look/color scheme
546
 
547
  = 1.05 =
548
+ * 2013/11/04
549
  * added Chinese traditional translation; thanks Wyeoh
550
 
551
  = 1.0 =
552
+ * 2013/10/28
553
  * WP 3.7 compatibility check
554
  * added Chinese simplified translation; thanks Wyeoh
555
 
556
  = 0.95 =
557
+ * 2013/10/21
558
  * added French translation; thanks Karimba
559
 
560
  = 0.90 =
561
+ * 2013/10/14
562
  * added German translation; thanks Karimba
563
  * we reached 100k downloads ;)
564
 
565
  = 0.86 =
566
+ * 2013/10/07
567
  * fixed a few strict standards errors; thanks Jay!
568
 
569
  = 0.85 =
570
+ * 2013/10/03
571
  * added Croatian translation; thank you Gordan
572
 
573
  = 0.80 =
574
+ * 2013/09/28
575
  * minor translation fixes
576
  * added Spanish translation; thank you Jesus!
577
 
578
  = 0.75 =
579
+ * 2013/09/24
580
  * map language is autodetected based on user's browser language (HTTP_ACCEPT_LANGUAGE header)
581
  * added Swedish translation; thank you Sofia!
582
  * German and Croatian translations will be up next
583
 
584
  = 0.71 =
585
+ * 2013/09/17
586
  * few more preparations for translation
587
  * Swedish translation coming in a few days
588
 
589
  = 0.70 =
590
+ * 2013/09/05
591
  * prepared everything for translation, POT file is available and all strings are wrapped in <i>__()</i>
592
+ * protocols should now match http/https for both thumbnail and ligtbox map
593
+ * <a href="http://www.gmapswidget.com/">www.gmapswidget.com</a> is up and running
594
 
595
  = 0.65 =
596
+ * 2013/08/05
597
  * updated JS for WP v3.6
598
 
599
  = 0.60 =
600
+ * 2013/04/06
601
  * fixed zoom bug in lightbox
602
 
603
  = 0.55 =
604
+ * 2013/04/05
605
  * added 2 new options - text above and below thumbnail map
606
  * updated fancyBox JS to the latest version
607
+ * minor code improvements
608
 
609
  = 0.50 =
610
+ * 2012/12/12
611
  * small WP 3.5 compatibility fixes
612
 
613
+ = 0.41 =
614
+ * 2012/12/03
615
+ * removed screenshots from plugin package
616
+
617
  = 0.4 =
618
+ * 2012/11/28
619
  * fixed non UTF-8 address bug
620
 
621
  = 0.37 =
622
+ * 2012/11/19
623
  * fixed bug to use google.com instead of google.co.uk
624
 
625
  = 0.35 =
626
+ * 2012/09/28
627
  * added 4 skins for lightbox
628
 
629
  = 0.31 =
630
+ * 2012/09/14
631
  * fix for bad themes which don't respect proper sidebar markup
632
 
633
  = 0.3 =
634
+ * 2012/09/04
635
  * lightbox script changed from jQuery UI Dialog to <a href="http://fancyapps.com/fancybox/">fancyBox2</a>
636
  * added "show map title on lightbox" option
637
  * significant speed improvements
638
+ * preparations for lightbox skins
639
 
640
  = 0.22 =
641
+ * 2012/08/31
642
  * Fixed small JS related GUI bug
643
 
644
  = 0.2 =
645
+ * 2012/08/28
646
  * Complete GUI rewrite
647
  * Added header text option
648
  * Added address bubble visibility option
650
  * Fixed lightbox map size bug
651
 
652
  = 0.13 =
653
+ * 2012/08/09
654
  * Added pin size for thumbnail map
655
 
656
  = 0.12 =
657
+ * 2012/08/07
658
  * Added pin color for thumbnail map
659
  * Fixed a few minor bugs
660
 
661
  = 0.11 =
662
+ * 2012/08/06
663
  * Fixed a few minor bugs
664
 
665
  = 0.1 =
666
+ * 2012/08/03
667
+ * Initial release