WP Google Map - Version 1.6.5

Version Description

  • Javascript exception handled in Map edit page
Download this release

Release Info

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

Code changes from version 1.6.4 to 1.6.5

assets/js/geo_based_map_edit.js CHANGED
@@ -74,7 +74,7 @@ function addMarkerDragendListener(marker) {
74
 
75
  // to render Google Map
76
  function initAutocomplete(id, input, center_lat, center_lng, map_type, zoom) {
77
- wpgmapSetAddressByLatLng(center_lat, center_lng);
78
  document.getElementById("wpgmap_latlng").value = center_lat + "," + center_lng;
79
  // In acse of already initiated
80
  if (typeof map === 'object') {
@@ -196,7 +196,9 @@ jQuery(document.body).find('#wpgmap_map_zoom').on('keyup', function (element) {
196
 
197
  // ========================On address field text change=========================
198
  jQuery(document.body).find('#wpgmap_map_address').on('keyup', function (element) {
199
- infowindow.setContent(jQuery(this).val());
 
 
200
  });
201
 
202
  // ========================On address field text change=========================
74
 
75
  // to render Google Map
76
  function initAutocomplete(id, input, center_lat, center_lng, map_type, zoom) {
77
+ //wpgmapSetAddressByLatLng(center_lat, center_lng);
78
  document.getElementById("wpgmap_latlng").value = center_lat + "," + center_lng;
79
  // In acse of already initiated
80
  if (typeof map === 'object') {
196
 
197
  // ========================On address field text change=========================
198
  jQuery(document.body).find('#wpgmap_map_address').on('keyup', function (element) {
199
+ if (jQuery('#wpgmap_show_infowindow').is(':checked')) {
200
+ infowindow.setContent(jQuery(this).val());
201
+ }
202
  });
203
 
204
  // ========================On address field text change=========================
includes/wpgmap_edit.php CHANGED
@@ -172,7 +172,7 @@ list( $wpgmap_lat, $wpgmap_lng ) = explode( ',', esc_html( $wpgmap_single->wpgma
172
  <div id="map" style="height: 415px;"></div>
173
  </div>
174
  <script type="text/javascript"
175
- src="<?php echo esc_url( plugins_url( "../assets/js/geo_based_map_edit.js?v=1.5.4", __FILE__ ) ); ?>"></script>
176
  <script>
177
  (function ($) {
178
  $(function () {
172
  <div id="map" style="height: 415px;"></div>
173
  </div>
174
  <script type="text/javascript"
175
+ src="<?php echo esc_url( plugins_url( "../assets/js/geo_based_map_edit.js?v=".filemtime(__DIR__.'/../assets/js/geo_based_map_edit.js'), __FILE__ ) ); ?>"></script>
176
  <script>
177
  (function ($) {
178
  $(function () {
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.4
7
- Version: 1.6.4
8
  Requires PHP: 5.3
9
  Text Domain: gmap-embed
10
  License: GPLv2 or later
@@ -22,7 +22,7 @@ WP Google Map is an awesome plugin to use when adding a custom Google map to you
22
  After July 16, 2018, Google has changed its policy. **You need to add billing information to use Google Map**. If you see a warning message on Map-like "**This page can't load Google Maps correctly**", please have a look on google developers [documentation](https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors). Even if you face a problem, please send a message in the mail: **milonfci@gmail.com** or Skype: **milon305021**
23
 
24
 
25
- * [Demo](https://sobyasachi.com/wp/google-map-demo/)
26
  * [Support Forum](https://wordpress.org/support/plugin/gmap-embed)
27
 
28
  To have continued the update, please donate for the plugin.
@@ -136,6 +136,9 @@ See the [Video](https://www.youtube.com/watch?v=Nh2z_oRK-RM) ,hope you will get
136
 
137
  == Changelog ==
138
 
 
 
 
139
  = 1.6.4 =
140
  * Map language and Region customization option added.
141
  * Form and field level security enhanced.
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.4
7
+ Version: 1.6.5
8
  Requires PHP: 5.3
9
  Text Domain: gmap-embed
10
  License: GPLv2 or later
22
  After July 16, 2018, Google has changed its policy. **You need to add billing information to use Google Map**. If you see a warning message on Map-like "**This page can't load Google Maps correctly**", please have a look on google developers [documentation](https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors). Even if you face a problem, please send a message in the mail: **milonfci@gmail.com** or Skype: **milon305021**
23
 
24
 
25
+ * [Demo](https://srmilon.info/demos)
26
  * [Support Forum](https://wordpress.org/support/plugin/gmap-embed)
27
 
28
  To have continued the update, please donate for the plugin.
136
 
137
  == Changelog ==
138
 
139
+ = 1.6.5 =
140
+ * Javascript exception handled in Map edit page
141
+
142
  = 1.6.4 =
143
  * Map language and Region customization option added.
144
  * Form and field level security enhanced.
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.4
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.5
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) {