WD Google Maps – Google Maps builder Plugin - Version 1.0.14

Version Description

  • Added: Advanced info window
Download this release

Release Info

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

Code changes from version 1.0.13 to 1.0.14

admin/views/GMWDViewMaps_gmwd.php CHANGED
@@ -644,7 +644,10 @@ class GMWDViewMaps_gmwd extends GMWDView{
644
  </li>
645
  <li>
646
  <a href="#settings-marker-listing" <?php echo (GMWDHelper::get('active_settings_tab') == "settings-marker-listing") ? 'class="wd-settings-active-tab"' : ''; ?> ><?php _e("Marker Listing","gmwd");?></a>
647
- </li>
 
 
 
648
  </ul>
649
  </div>
650
  <div class="wd-cell wd-cell-valign-top wd-settings-tabs-container">
@@ -667,7 +670,10 @@ class GMWDViewMaps_gmwd extends GMWDView{
667
  </div>
668
  <div id="settings-marker-listing" class="wd-left wd-settings-container" <?php echo GMWDHelper::get('active_settings_tab') == "settings-marker-listing" ? '' : 'style="display:none;"'; ?>>
669
  <?php $this->settings_marker_listing($row, $lists); ?>
670
- </div>
 
 
 
671
  <div class="wd-right">
672
  <div id="wd-map3" class="wd_map gmwd_follow_scroll" style="height:400px;width:472px;"></div>
673
  </div>
@@ -770,29 +776,6 @@ class GMWDViewMaps_gmwd extends GMWDView{
770
 
771
  </td>
772
  </tr>
773
- <tr>
774
- <td><label for="info_window_open_on" title="<?php _e("Choose whether to open info window by hovering or a click.","gmwd");?>"><?php _e("Info Window Open","gmwd");?>:</label></td>
775
- <td>
776
- <select name="info_window_open_on" id="info_window_open_on">
777
- <option value="click" <?php if($row->info_window_open_on == "click") echo "selected";?>><?php _e("Click","gmwd");?></option>
778
- <option value="hover" <?php if($row->info_window_open_on == "hover") echo "selected";?>><?php _e("Hover","gmwd");?></option>
779
- </select>
780
- </td>
781
- </tr>
782
- <tr class="geolocation_msg" <?php if($is_https == 1 || ($is_https == 0 && $row->geolocate_user == 0)) echo "style='display:none;'"; ?>>
783
- <td colspan="2">
784
- <div class="gmwd_pro_option gmwd_pro_option_msg"><?php _e("Geolocation API call must be served from a secure context such as HTTPS.","gmwd");?></div>
785
- </td>
786
- </tr>
787
- <tr>
788
- <td><label title="<?php _e("With W3C Geolocation standard you can detect the user's location on front end.","gmwd");?>"><?php _e("Geolocate User","gmwd"); ?>:</label></td>
789
- <td>
790
- <input type="radio" class="inputbox" id="geolocate_user0" name="geolocate_user" <?php echo (($row->geolocate_user) ? '' : 'checked="checked"'); ?> value="0" >
791
- <label for="geolocate_user0"><?php _e("No","gmwd"); ?></label>
792
- <input type="radio" class="inputbox" id="geolocate_user1" name="geolocate_user" <?php echo (($row->geolocate_user) ? 'checked="checked"' : ''); ?> value="1" >
793
- <label for="geolocate_user1"><?php _e("Yes","gmwd"); ?></label>
794
- </td>
795
- </tr>
796
  <tr>
797
  <td><label for="map_alignment" title="<?php _e("Select the alignment of your map.","gmwd");?>"><?php _e("Alignment","gmwd");?>:</label></td>
798
  <td>
@@ -1261,6 +1244,57 @@ class GMWDViewMaps_gmwd extends GMWDView{
1261
 
1262
  <?php
1263
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1264
  ////////////////////////////////////////////////////////////////////////////////////////
1265
  // Listeners //
1266
  ////////////////////////////////////////////////////////////////////////////////////////
644
  </li>
645
  <li>
646
  <a href="#settings-marker-listing" <?php echo (GMWDHelper::get('active_settings_tab') == "settings-marker-listing") ? 'class="wd-settings-active-tab"' : ''; ?> ><?php _e("Marker Listing","gmwd");?></a>
647
+ </li>
648
+ <li>
649
+ <a href="#settings-advanced" <?php echo (GMWDHelper::get('active_settings_tab') == "settings-advanced") ? 'class="wd-settings-active-tab"' : ''; ?> ><?php _e("Advanced Settings","gmwd");?></a>
650
+ </li>
651
  </ul>
652
  </div>
653
  <div class="wd-cell wd-cell-valign-top wd-settings-tabs-container">
670
  </div>
671
  <div id="settings-marker-listing" class="wd-left wd-settings-container" <?php echo GMWDHelper::get('active_settings_tab') == "settings-marker-listing" ? '' : 'style="display:none;"'; ?>>
672
  <?php $this->settings_marker_listing($row, $lists); ?>
673
+ </div>
674
+ <div id="settings-advanced" class="wd-left wd-settings-container" <?php echo GMWDHelper::get('active_settings_tab') == "settings-advanced" ? '' : 'style="display:none;"'; ?>>
675
+ <?php $this->settings_advanced($row, $lists); ?>
676
+ </div>
677
  <div class="wd-right">
678
  <div id="wd-map3" class="wd_map gmwd_follow_scroll" style="height:400px;width:472px;"></div>
679
  </div>
776
 
777
  </td>
778
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
779
  <tr>
780
  <td><label for="map_alignment" title="<?php _e("Select the alignment of your map.","gmwd");?>"><?php _e("Alignment","gmwd");?>:</label></td>
781
  <td>
1244
 
1245
  <?php
1246
  }
1247
+
1248
+ private function settings_advanced($row, $lists){
1249
+ ?>
1250
+ <table class="settings_table">
1251
+ <tr>
1252
+ <td><label title="<?php _e("With W3C Geolocation standard you can detect the user's location on front end.","gmwd");?>"><?php _e("Geolocate User","gmwd"); ?>:</label></td>
1253
+ <td>
1254
+ <input type="radio" class="inputbox" id="geolocate_user0" name="geolocate_user" <?php echo (($row->geolocate_user) ? '' : 'checked="checked"'); ?> value="0" >
1255
+ <label for="geolocate_user0"><?php _e("No","gmwd"); ?></label>
1256
+ <input type="radio" class="inputbox" id="geolocate_user1" name="geolocate_user" <?php echo (($row->geolocate_user) ? 'checked="checked"' : ''); ?> value="1" >
1257
+ <label for="geolocate_user1"><?php _e("Yes","gmwd"); ?></label>
1258
+ </td>
1259
+ </tr>
1260
+ <tr>
1261
+ <td><label for="info_window_open_on" title="<?php _e("Choose whether to open info window by hovering or a click.","gmwd");?>"><?php _e("Marker Info Window Open","gmwd");?>:</label></td>
1262
+ <td>
1263
+ <select name="info_window_open_on" id="info_window_open_on">
1264
+ <option value="click" <?php if($row->info_window_open_on == "click") echo "selected";?>><?php _e("Click","gmwd");?></option>
1265
+ <option value="hover" <?php if($row->info_window_open_on == "hover") echo "selected";?>><?php _e("Hover","gmwd");?></option>
1266
+ </select>
1267
+ </td>
1268
+ </tr>
1269
+
1270
+ <tr>
1271
+ <td><label title="<?php _e("Select marker info window type.","gmwd");?>"><?php _e("Marker Info Window Type","gmwd"); ?>:</label></td>
1272
+ <td>
1273
+ <input type="radio" class="inputbox gmwd_disabled_field" id="infowindow_type0" name="infowindow_type" checked="checked" value="0" disabled readonly>
1274
+ <label for="infowindow_type0"><?php _e("Default","gmwd"); ?></label>
1275
+ <input type="radio" class="inputbox gmwd_disabled_field" id="infowindow_type1" name="infowindow_type" value="1" disabled readonly>
1276
+ <label for="infowindow_type1"><?php _e("Advanced","gmwd"); ?></label>
1277
+ <div class="gmwd_pro_option"><small><?php _e("Only in the Paid version.","gmwd");?></small></div>
1278
+ </td>
1279
+ </tr>
1280
+ <tr>
1281
+ <td><label for="advanced_info_window_position" title="<?php _e("Select the position of the marker advanced window.","gmwd");?>"><?php _e("Advanced Info Window Position","gmwd"); ?>:</label></td>
1282
+ <td>
1283
+ <select name="advanced_info_window_position" id="advanced_info_window_position" disabled readonly class="gmwd_disabled_field">
1284
+ <?php
1285
+ foreach($lists["map_positions"] as $key => $value){
1286
+ echo '<option value="'.$key.'" >'.$value.'</option>';
1287
+ }
1288
+ ?>
1289
+ </select>
1290
+ <div class="gmwd_pro_option"><small><?php _e("Only in the Paid version.","gmwd");?></small></div>
1291
+ </td>
1292
+ </tr>
1293
+
1294
+
1295
+ </table>
1296
+ <?php
1297
+ }
1298
  ////////////////////////////////////////////////////////////////////////////////////////
1299
  // Listeners //
1300
  ////////////////////////////////////////////////////////////////////////////////////////
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.13';
15
  ////////////////////////////////////////////////////////////////////////////////////////
16
  // Constructor & Destructor //
17
  ////////////////////////////////////////////////////////////////////////////////////////
11
  // Variables //
12
  ////////////////////////////////////////////////////////////////////////////////////////
13
  protected static $instance = null;
14
+ private static $version = '1.0.14';
15
  ////////////////////////////////////////////////////////////////////////////////////////
16
  // Constructor & Destructor //
17
  ////////////////////////////////////////////////////////////////////////////////////////
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado
3
  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.5
7
- Stable tag: 1.0.13
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -110,6 +110,9 @@ After downloading the ZIP file of the Google Maps WD plugin,
110
 
111
  == Changelog ==
112
 
 
 
 
113
  = 1.0.13 =
114
  * Fixed: Languages bug
115
  * Added: Store locator header title
3
  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.14
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
110
 
111
  == Changelog ==
112
 
113
+ = 1.0.14 =
114
+ * Added: Advanced info window
115
+
116
  = 1.0.13 =
117
  * Fixed: Languages bug
118
  * Added: Store locator header title
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.13
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.14
8
  * Author: WebDorado
9
  * Author URI: http://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html