WD Google Maps – Google Maps builder Plugin - Version 1.0.41

Version Description

  • Fixed: Center Map in fullscreen mode
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 WD Google Maps – Google Maps builder Plugin
Version 1.0.41
Comparing to
See all releases

Code changes from version 1.0.40 to 1.0.41

Files changed (4) hide show
  1. gmwd_admin_class.php +1 -1
  2. js/init_map.js +8 -0
  3. readme.txt +5 -2
  4. wd-google-maps.php +1 -1
gmwd_admin_class.php CHANGED
@@ -11,7 +11,7 @@ class GMWDAdmin{
11
  // Variables //
12
  ////////////////////////////////////////////////////////////////////////////////////////
13
  protected static $instance = null;
14
- private static $version = '1.0.40';
15
  ////////////////////////////////////////////////////////////////////////////////////////
16
  // Constructor & Destructor //
17
  ////////////////////////////////////////////////////////////////////////////////////////
11
  // Variables //
12
  ////////////////////////////////////////////////////////////////////////////////////////
13
  protected static $instance = null;
14
+ private static $version = '1.0.41';
15
  ////////////////////////////////////////////////////////////////////////////////////////
16
  // Constructor & Destructor //
17
  ////////////////////////////////////////////////////////////////////////////////////////
js/init_map.js CHANGED
@@ -64,6 +64,14 @@ function gmwdInitMainMap(el, excludeOverlays, key){
64
  gmwdSetMapPolylines(key);
65
  }
66
 
 
 
 
 
 
 
 
 
67
  }
68
 
69
  function gmwdSetMapMarkers(_key){
64
  gmwdSetMapPolylines(key);
65
  }
66
 
67
+ jQuery(document).on("click",".gm-fullscreen-control",function(){
68
+ setTimeout(function(){
69
+ gmwdmapData["main_map" + key].setCenter({lat: Number(gmwdmapData["centerLat" + key]), lng: Number(gmwdmapData["centerLng" + key])});
70
+ gmwdmapData["main_map" + key].setZoom(gmwdmapData["zoom" + key]);
71
+ }, 300);
72
+
73
+ });
74
+
75
  }
76
 
77
  function gmwdSetMapMarkers(_key){
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
- === Google Maps WD Google Maps builder Plugin ===
2
  Contributors: webdorado, wdsupport
3
  Donate link: https://web-dorado.com/products/wordpress-google-maps-plugin.html
4
  Tags: google map, google maps, map, map markers, maps, directions, google map plugin, google maps plugin, map plugin, map widget, wp google map, wp google maps, google map widget, google map shortcode, wp map, google maps directions, google maps builder, google places, google places api, google maps api, google places reviews, contact page map, custom google map, loaction by address, location, map direction, map styles, polygons, simple google map, gmap, google map embed, best google maps, custom google maps
5
  Requires at least: 3.4
6
  Tested up to: 4.8
7
- Stable tag: 1.0.40
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -117,6 +117,9 @@ After downloading the ZIP file of the Google Maps WD plugin,
117
 
118
  == Changelog ==
119
 
 
 
 
120
  = 1.0.40 =
121
  * Added: ordering for marker listings
122
 
1
+ === Google Maps WD - Google Maps builder Plugin ===
2
  Contributors: webdorado, wdsupport
3
  Donate link: https://web-dorado.com/products/wordpress-google-maps-plugin.html
4
  Tags: google map, google maps, map, map markers, maps, directions, google map plugin, google maps plugin, map plugin, map widget, wp google map, wp google maps, google map widget, google map shortcode, wp map, google maps directions, google maps builder, google places, google places api, google maps api, google places reviews, contact page map, custom google map, loaction by address, location, map direction, map styles, polygons, simple google map, gmap, google map embed, best google maps, custom google maps
5
  Requires at least: 3.4
6
  Tested up to: 4.8
7
+ Stable tag: 1.0.41
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
117
 
118
  == Changelog ==
119
 
120
+ = 1.0.41 =
121
+ * Fixed: Center Map in fullscreen mode
122
+
123
  = 1.0.40 =
124
  * Added: ordering for marker listings
125
 
wd-google-maps.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Google Maps WD
5
  * Plugin URI: https://web-dorado.com/products/wordpress-google-maps-plugin.html
6
  * Description: Google Maps WD is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for your website.
7
- * Version: 1.0.40
8
  * Author: WebDorado
9
  * Author URI: http://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
4
  * Plugin Name: Google Maps WD
5
  * Plugin URI: https://web-dorado.com/products/wordpress-google-maps-plugin.html
6
  * Description: Google Maps WD is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for your website.
7
+ * Version: 1.0.41
8
  * Author: WebDorado
9
  * Author URI: http://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html