WD Google Maps – Google Maps builder Plugin - Version 1.0.16

Version Description

  • Added: GMWD Marker Clustering add-on
Download this release

Release Info

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

Code changes from version 1.0.15 to 1.0.16

addons/addons.php ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function gmwd_addons_display() {
3
+ $addons = array(
4
+ 'marker-clusters' => array(
5
+ 'name' => __('GMWD Marker Clustering', 'gmwd'),
6
+ 'url' => 'https://web-dorado.com/products/wordpress-google-maps-plugin/add-ons/marker-clustering.html',
7
+ 'description' => __('GMWD Marker Clustering is designed for grouping close markers for more user-friendly display over the map.', 'gmwd'),
8
+ 'icon' => '',
9
+ 'image' => GMWD_URL . '/addons/images/marker_clusters.png',
10
+ ),
11
+
12
+ );
13
+ ?>
14
+ <div class="wrap">
15
+ <div id="settings">
16
+ <div id="settings-content" >
17
+ <h2 id="add_on_title"><?php _e('Google Maps WD Add-ons', 'gmwd'); ?></h2>
18
+ <?php
19
+ if ($addons) {
20
+ foreach ($addons as $name => $addon) {
21
+ ?>
22
+ <div class="add-on">
23
+ <h2><?php echo $addon['name']; ?></h2>
24
+ <figure class="figure">
25
+ <div class="figure-img">
26
+ <a href="<?php echo $addon['url']; ?>" target="_blank">
27
+ <?php
28
+ if ($addon['image']) {
29
+ ?>
30
+ <img src="<?php echo $addon['image']; ?>" />
31
+ <?php
32
+ }
33
+ ?>
34
+ </a>
35
+ </div>
36
+ <figcaption class="addon-descr figcaption">
37
+ <?php
38
+ if ($addon['icon']) {
39
+ ?>
40
+ <img src="<?php echo $addon['icon']; ?>" />
41
+ <?php
42
+ }
43
+ ?>
44
+ <?php echo $addon['description']; ?>
45
+ </figcaption>
46
+ </figure>
47
+ <?php
48
+ if ($addon['url'] !== '#') {
49
+ ?>
50
+ <a href="<?php echo $addon['url']; ?>" target="_blank" class="addon"><span><?php _e('GET THIS ADD ON', 'gmwd'); ?></span></a>
51
+ <?php
52
+ }
53
+ else {
54
+ ?>
55
+ <div class="ecwd_coming_soon">
56
+ <img src="<?php echo WD_gmwd_URL . '/addons/images/coming_soon.png'; ?>" />
57
+ </div>
58
+ <?php
59
+ }
60
+ ?>
61
+ </div>
62
+ <?php
63
+ }
64
+ }
65
+ ?>
66
+ </div>
67
+ </div>
68
+ </div>
69
+ <?php
70
+ }
addons/images/Add_Ons.jpg ADDED
Binary file
addons/images/Add_Ons_hover.jpg ADDED
Binary file
addons/images/add-ons-icon.png ADDED
Binary file
addons/images/coming_soon.png ADDED
Binary file
addons/images/gallery_addons_new.png ADDED
Binary file
addons/images/marker_clusters.png ADDED
Binary file
addons/style.css ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #settings-content .addons_updates::after,
2
+ #settings-content .main-plugin::after,
3
+ #settings-content::after {
4
+ clear: both;
5
+ content: "";
6
+ display: table;
7
+ }
8
+
9
+ #settings {
10
+ background: #ffffff;
11
+ padding: 15px;
12
+ }
13
+
14
+ #settings-content #add_on_title {
15
+ margin-bottom: 20px;
16
+ }
17
+
18
+ #settings-content .ecwd_coming_soon {
19
+ position: absolute;
20
+ top: 44px;
21
+ left: 0;
22
+ height: 100%;
23
+ }
24
+
25
+ #settings-content .add-on a {
26
+ text-decoration: none;
27
+ }
28
+
29
+ #settings-content .add-on h2 {
30
+ color: #229DBF;
31
+ font-size: 16px;
32
+ margin-bottom: 9px;
33
+ padding: 0 0 7px;
34
+ line-height: 1.2;
35
+ }
36
+
37
+ #settings-content .addon-descr {
38
+ font-size: 13px;
39
+ line-height: 18px;
40
+ height: 100%;
41
+ width: 53%;
42
+ opacity: 0;
43
+ position: absolute;
44
+ top: 0;
45
+ left: 0;
46
+ padding: 8px 10px 10px;
47
+ background: #23282D;
48
+ color: #D1DDE0;
49
+ -webkit-backface-visibility: hidden;
50
+ -moz-backface-visibility: hidden;
51
+ backface-visibility: hidden;
52
+ -webkit-transform-origin: 0 0;
53
+ -moz-transform-origin: 0 0;
54
+ transform-origin: 0 0;
55
+ -webkit-transform: rotateY(-90deg);
56
+ -moz-transform: rotateY(-90deg);
57
+ transform: rotateY(-90deg);
58
+ -webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
59
+ -moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
60
+ transition: transform 0.4s, opacity 0.1s 0.3s;
61
+ box-sizing: border-box;
62
+ -webkit-box-sizing: border-box;
63
+ -moz-box-sizing: border-box;
64
+ }
65
+
66
+ #settings-content .addon,
67
+ #settings-content .addon-price {
68
+ display: inline-block;
69
+ margin-top: 15px;
70
+ font-size: 15px;
71
+ border: 1px solid #DCDCDC;
72
+ font-weight: bold;
73
+ }
74
+
75
+ #settings-content .addon {
76
+ background: #FFFFFF url('images/Add_Ons.jpg') no-repeat 6px center;
77
+ color: #66686B;
78
+ padding: 9px 12px 9px 45px;
79
+ width: 100%;
80
+ box-sizing: border-box;
81
+ -webkit-box-sizing: border-box;
82
+ -moz-box-sizing: border-box;
83
+ }
84
+
85
+ #settings-content .addon-price {
86
+ background: #FFFFFF;
87
+ color: #229CBF;
88
+ padding: 9px 12px;
89
+ }
90
+
91
+ #settings-content .add-on:hover .addon-price,
92
+ #settings-content .addon-price:hover {
93
+ background: #229CBF;
94
+ color: #DDECF1;
95
+ }
96
+
97
+ #settings-content .add-on:hover .addon,
98
+ #settings-content .addon:hover {
99
+ background: #23282D url('images/Add_Ons_hover.jpg') no-repeat 6px center;
100
+ color: #DDDEDE;
101
+ }
102
+
103
+ #settings-content .addon span {
104
+ border-left: 1px solid #A7A9AB;
105
+ padding: 4px 10px 4px 10px;
106
+ }
107
+
108
+ #settings-content .addon-descr span {
109
+ padding: 5px 0 5px 10px;
110
+ border-left: 1px solid #93CEE0;
111
+ }
112
+
113
+ #settings-content a:focus {
114
+ outline: none;
115
+ box-shadow: none;
116
+ }
117
+
118
+ #settings-content .add-on {
119
+ width: 310px;
120
+ height: 320px;
121
+ float: left;
122
+ margin-right: 40px;
123
+ margin-bottom: 40px;
124
+ -webkit-perspective: 1700px;
125
+ -moz-perspective: 1700px;
126
+ perspective: 1700px;
127
+ -webkit-perspective-origin: 0 50%;
128
+ -moz-perspective-origin: 0 50%;
129
+ perspective-origin: 0 50%;
130
+ position: relative;
131
+ }
132
+
133
+ #settings-content .figure {
134
+ -webkit-transform-style: preserve-3d;
135
+ -moz-transform-style: preserve-3d;
136
+ transform-style: preserve-3d;
137
+ position: relative;
138
+ width: 100%;
139
+ height: 232px;
140
+ margin: 0;
141
+ }
142
+
143
+ #settings-content .figure-img {
144
+ overflow: hidden;
145
+ }
146
+
147
+ #settings-content .figure-img img {
148
+ -webkit-transition: -webkit-transform 0.4s;
149
+ -moz-transition: -moz-transform 0.4s;
150
+ transition: transform 0.4s;
151
+ }
152
+
153
+ #settings-content .figure:hover img {
154
+ -webkit-transform: translateX(25%);
155
+ -moz-transform: translateX(25%);
156
+ -ms-transform: translateX(25%);
157
+ transform: translateX(25%);
158
+ }
159
+
160
+ #settings-content .figure:hover figcaption {
161
+ opacity: 1;
162
+ -webkit-transform: rotateY(0deg);
163
+ -moz-transform: rotateY(0deg);
164
+ transform: rotateY(0deg);
165
+ -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
166
+ -moz-transition: -moz-transform 0.4s, opacity 0.1s;
167
+ transition: transform 0.4s, opacity 0.1s;
168
+ }
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.15';
15
  ////////////////////////////////////////////////////////////////////////////////////////
16
  // Constructor & Destructor //
17
  ////////////////////////////////////////////////////////////////////////////////////////
@@ -127,6 +127,8 @@ class GMWDAdmin{
127
 
128
  $gmwd_featured_themes_page = add_submenu_page('maps_gmwd', __('Featured Themes','gmwd'), __('Featured Themes','gmwd'), 'manage_options', 'featured_themes_gmwd', array($this,'gmwd_featured_themes'));
129
  $gmwd_uninstall_page = add_submenu_page('maps_gmwd', __('Uninstall','gmwd'), __('Uninstall','gmwd'), 'manage_options', 'uninstall_gmwd', array($this,'gmwd'));
 
 
130
 
131
  }
132
 
@@ -306,6 +308,13 @@ class GMWDAdmin{
306
  spider_featured_themes('wd-google-maps');
307
  }
308
 
 
 
 
 
 
 
 
309
  ////////////////////////////////////////////////////////////////////////////////////////
310
  // Listeners //
311
  ////////////////////////////////////////////////////////////////////////////////////////
11
  // Variables //
12
  ////////////////////////////////////////////////////////////////////////////////////////
13
  protected static $instance = null;
14
+ private static $version = '1.0.16';
15
  ////////////////////////////////////////////////////////////////////////////////////////
16
  // Constructor & Destructor //
17
  ////////////////////////////////////////////////////////////////////////////////////////
127
 
128
  $gmwd_featured_themes_page = add_submenu_page('maps_gmwd', __('Featured Themes','gmwd'), __('Featured Themes','gmwd'), 'manage_options', 'featured_themes_gmwd', array($this,'gmwd_featured_themes'));
129
  $gmwd_uninstall_page = add_submenu_page('maps_gmwd', __('Uninstall','gmwd'), __('Uninstall','gmwd'), 'manage_options', 'uninstall_gmwd', array($this,'gmwd'));
130
+
131
+ add_menu_page(__('Google Maps WD','gmwd'), __('Google Maps WD Add-ons','gmwd'), 'manage_options', 'gmwd_addons', array($this, "gmwd_addons"), GMWD_URL . '/addons/images/add-ons-icon.png',12);
132
 
133
  }
134
 
308
  spider_featured_themes('wd-google-maps');
309
  }
310
 
311
+ public function gmwd_addons(){
312
+ require_once(GMWD_DIR . '/addons/addons.php');
313
+ wp_register_style('gmwd_addons', GMWD_URL . '/addons/style.css', array(), array($this,"gmwd_version"));
314
+ wp_print_styles('gmwd_addons');
315
+ gmwd_addons_display();
316
+
317
+ }
318
  ////////////////////////////////////////////////////////////////////////////////////////
319
  // Listeners //
320
  ////////////////////////////////////////////////////////////////////////////////////////
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-google-maps-plugin.html
4
  Tags: directions, google map, google map plugin, google maps, google maps plugin, map, map markers, map plugin, map widget, maps, wp google map, wp google maps
5
  Requires at least: 3.4
6
  Tested up to: 4.6
7
- Stable tag: 1.0.15
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -20,6 +20,9 @@ https://www.youtube.com/watch?v=acaexefeP7o
20
  [User Guide](https://web-dorado.com/wordpress-google-maps/installing.html)
21
  [Support Forum](https://web-dorado.com/forum/wordpress-google-maps-wd.html)
22
 
 
 
 
23
 
24
  Google Maps WD is a user-friendly, responsive Google maps plugin. It is very simple in use and doesn’t require any coding skills or complex customization processes. Using this Google maps plugin you can showcase any location, display related or categorized locations with markers or showcase coverage areas with the help of layers and overlays.
25
 
@@ -110,6 +113,9 @@ After downloading the ZIP file of the Google Maps WD plugin,
110
 
111
  == Changelog ==
112
 
 
 
 
113
  = 1.0.15 =
114
  * Added: Review, User guide notices
115
 
4
  Tags: directions, google map, google map plugin, google maps, google maps plugin, map, map markers, map plugin, map widget, maps, wp google map, wp google maps
5
  Requires at least: 3.4
6
  Tested up to: 4.6
7
+ Stable tag: 1.0.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
20
  [User Guide](https://web-dorado.com/wordpress-google-maps/installing.html)
21
  [Support Forum](https://web-dorado.com/forum/wordpress-google-maps-wd.html)
22
 
23
+ = Google Maps WD Add-ons: =
24
+ [GMWD Marker Clustering Add-on](https://web-dorado.com/products/wordpress-google-maps-plugin/add-ons/marker-clustering.html)
25
+
26
 
27
  Google Maps WD is a user-friendly, responsive Google maps plugin. It is very simple in use and doesn’t require any coding skills or complex customization processes. Using this Google maps plugin you can showcase any location, display related or categorized locations with markers or showcase coverage areas with the help of layers and overlays.
28
 
113
 
114
  == Changelog ==
115
 
116
+ = 1.0.16 =
117
+ * Added: GMWD Marker Clustering add-on
118
+
119
  = 1.0.15 =
120
  * Added: Review, User guide notices
121
 
wd-google-maps.php CHANGED
@@ -3,8 +3,8 @@
3
  /**
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.15
8
  * Author: WebDorado
9
  * Author URI: http://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
3
  /**
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.16
8
  * Author: WebDorado
9
  * Author URI: http://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html