WP Google Map - Version 1.6.9

Version Description

  • Domain SSl related issue fixing for non-ssl websites.
Download this release

Release Info

Developer milonfci
Plugin Icon 128x128 WP Google Map
Version 1.6.9
Comparing to
See all releases

Code changes from version 1.6.8 to 1.6.9

assets/js/geo_based_map_create.js CHANGED
@@ -193,6 +193,7 @@ var tryAPIGeolocation = function () {
193
  })
194
  .fail(function (err) {
195
  console.log("API Geolocation error! \n\n" + err);
 
196
  });
197
  };
198
  var browserGeolocationSuccess = function (position) {
@@ -201,14 +202,15 @@ var browserGeolocationSuccess = function (position) {
201
 
202
  var browserGeolocationFail = function (error) {
203
  switch (error.code) {
204
- case error.TIMEOUT:
205
  console.log("Browser geolocation error !\n\nTimeout.");
206
  initWpGmap(40.73359922990751, -74.02791395625002, 'ROADMAP');
207
  break;
208
- case error.PERMISSION_DENIED:
 
209
  tryAPIGeolocation();
210
  break;
211
- case error.POSITION_UNAVAILABLE:
212
  console.log("Browser geolocation error !\n\nPosition unavailable.");
213
  initWpGmap(40.73359922990751, -74.02791395625002, 'ROADMAP');
214
  break;
193
  })
194
  .fail(function (err) {
195
  console.log("API Geolocation error! \n\n" + err);
196
+ initWpGmap(40.73359922990751, -74.02791395625002, 'ROADMAP');
197
  });
198
  };
199
  var browserGeolocationSuccess = function (position) {
202
 
203
  var browserGeolocationFail = function (error) {
204
  switch (error.code) {
205
+ case error.TIMEOUT://3
206
  console.log("Browser geolocation error !\n\nTimeout.");
207
  initWpGmap(40.73359922990751, -74.02791395625002, 'ROADMAP');
208
  break;
209
+ case error.PERMISSION_DENIED://1
210
+ console.log('API geo location error, permission denied!!');
211
  tryAPIGeolocation();
212
  break;
213
+ case error.POSITION_UNAVAILABLE://2
214
  console.log("Browser geolocation error !\n\nPosition unavailable.");
215
  initWpGmap(40.73359922990751, -74.02791395625002, 'ROADMAP');
216
  break;
includes/gmap.php CHANGED
@@ -71,7 +71,7 @@ if ( isset( $_GET['page'] ) ) {
71
  </li>
72
  <li>
73
  <a target="_blank"
74
- href="<?php echo esc_url( 'https://www.youtube.com/watch?v=h8fLhYZb5_4' ); ?>"
75
  class="media-menu-item">
76
  <?php _e( 'See Video', 'gmap-embed' ); ?></a>
77
  </li>
71
  </li>
72
  <li>
73
  <a target="_blank"
74
+ href="<?php echo esc_url( 'https://www.youtube.com/watch?v=o90H34eacHg' ); ?>"
75
  class="media-menu-item">
76
  <?php _e( 'See Video', 'gmap-embed' ); ?></a>
77
  </li>
includes/wpgmap_contact.php CHANGED
@@ -88,7 +88,7 @@
88
  </div>
89
 
90
  <div class="srm_gmap_video_area">
91
- <iframe width="100%" height="520" src="<?php echo esc_url( 'https://www.youtube.com/embed/h8fLhYZb5_4' ); ?>"
92
  frameborder="0"
93
  allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
94
 
88
  </div>
89
 
90
  <div class="srm_gmap_video_area">
91
+ <iframe width="100%" height="520" src="<?php echo esc_url( 'https://www.youtube.com/embed/o90H34eacHg' ); ?>"
92
  frameborder="0"
93
  allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
94
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: google map, gmap, google map embed, wp map, wp map embed, map embed, best google maps, best maps, bing maps, cross-browser, custom google map, custom google maps, map direction, easy map, geo, geocoder, maps, google earth, google map plugin, google map shortcode, google map widget, google maps v3, google maps, gprs, gps, gpx, kml, latitude, Longitude, location, location by address, map, map directions, map markers, map plugin, map shortcode, map styles, maps google, post map, map point, polygons, roads, routes, store locator, street view, wp google map, contact page map, google map wordpress, google maps wordpress, google maps for wordpress, simple google map, simple google map plugin, wp google maps,maps
5
  Requires at least: 2.9
6
  Tested up to: 5.5
7
- Version: 1.6.8
8
  Requires PHP: 5.3
9
  Text Domain: gmap-embed
10
  License: GPLv2 or later
@@ -28,7 +28,7 @@ After July 16, 2018, Google has changed its policy. **You need to add billing in
28
  To have continued the update, please donate for the plugin.
29
  [Click here to donate](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZBERRKARGNEYA)
30
 
31
- https://www.youtube.com/watch?v=h8fLhYZb5_4
32
 
33
  ### Features of WP Google Map Plugin-Lite version(FREE):
34
 
@@ -121,7 +121,7 @@ Go to **Pages** =-> **Add New** then you will see a button named "Embed Google M
121
  Go to **Appearance** =-> **Widget** then you will see a widget named "Google Map SRM ". Drag it to any widget area and enter Google Map Shortcode then save it and the map will appear in your sidebar or footer whatever you selected. Enjoy!
122
 
123
  = How do I get a Google Map API key? =
124
- See the [Video](https://www.youtube.com/watch?v=h8fLhYZb5_4) ,hope you will get idea.
125
 
126
  == Screenshots ==
127
 
@@ -136,6 +136,9 @@ See the [Video](https://www.youtube.com/watch?v=h8fLhYZb5_4) ,hope you will get
136
 
137
  == Changelog ==
138
 
 
 
 
139
  = 1.6.8 =
140
  * Helpful video presentation has been added.
141
 
4
  Tags: google map, gmap, google map embed, wp map, wp map embed, map embed, best google maps, best maps, bing maps, cross-browser, custom google map, custom google maps, map direction, easy map, geo, geocoder, maps, google earth, google map plugin, google map shortcode, google map widget, google maps v3, google maps, gprs, gps, gpx, kml, latitude, Longitude, location, location by address, map, map directions, map markers, map plugin, map shortcode, map styles, maps google, post map, map point, polygons, roads, routes, store locator, street view, wp google map, contact page map, google map wordpress, google maps wordpress, google maps for wordpress, simple google map, simple google map plugin, wp google maps,maps
5
  Requires at least: 2.9
6
  Tested up to: 5.5
7
+ Version: 1.6.9
8
  Requires PHP: 5.3
9
  Text Domain: gmap-embed
10
  License: GPLv2 or later
28
  To have continued the update, please donate for the plugin.
29
  [Click here to donate](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZBERRKARGNEYA)
30
 
31
+ https://www.youtube.com/watch?v=o90H34eacHg
32
 
33
  ### Features of WP Google Map Plugin-Lite version(FREE):
34
 
121
  Go to **Appearance** =-> **Widget** then you will see a widget named "Google Map SRM ". Drag it to any widget area and enter Google Map Shortcode then save it and the map will appear in your sidebar or footer whatever you selected. Enjoy!
122
 
123
  = How do I get a Google Map API key? =
124
+ See the [Video](https://www.youtube.com/watch?v=o90H34eacHg) ,hope you will get idea.
125
 
126
  == Screenshots ==
127
 
136
 
137
  == Changelog ==
138
 
139
+ = 1.6.9 =
140
+ * Domain SSl related issue fixing for non-ssl websites.
141
+
142
  = 1.6.8 =
143
  * Helpful video presentation has been added.
144
 
srm_gmap_embed.php CHANGED
@@ -7,7 +7,7 @@
7
  Text Domain: gmap-embed
8
  Domain Path: /languages
9
  Author URI: https://www.srmilon.info
10
- Version: 1.6.8
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) {
7
  Text Domain: gmap-embed
8
  Domain Path: /languages
9
  Author URI: https://www.srmilon.info
10
+ Version: 1.6.9
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) {