Version Description
- 2017-09-07 - Medium Priority =
- Bug Fix: Zoom level is not respected when saving
Download this release
Release Info
Developer | WPGMaps |
Plugin | WP Google Maps |
Version | 6.4.06 |
Comparing to | |
See all releases |
Code changes from version 6.4.05 to 6.4.06
- js/wpgmaps-admin-core.js +4 -6
- readme.txt +3 -0
- wpGoogleMaps.php +9 -3
js/wpgmaps-admin-core.js
CHANGED
@@ -641,21 +641,19 @@ MYMAP.init = function(selector, latLng, zoom) {
|
|
641 |
|
642 |
});
|
643 |
|
644 |
-
/*
|
645 |
-
deprecated this in 6.4.00
|
646 |
-
|
647 |
google.maps.event.addListener(this.map, 'zoom_changed', function() {
|
|
|
648 |
zoomLevel = MYMAP.map.getZoom();
|
649 |
|
650 |
jQuery("#wpgmza_start_zoom").val(zoomLevel);
|
|
|
651 |
if (zoomLevel == 0) {
|
652 |
MYMAP.map.setZoom(10);
|
653 |
}
|
654 |
-
});
|
655 |
-
*/
|
656 |
-
jQuery( "#wpgmza_map").trigger( 'wpgooglemaps_loaded' );
|
657 |
|
|
|
658 |
|
|
|
659 |
|
660 |
if (wpgmaps_localize_polygon_settings !== null) {
|
661 |
if (typeof wpgmaps_localize_polygon_settings !== "undefined") {
|
641 |
|
642 |
});
|
643 |
|
|
|
|
|
|
|
644 |
google.maps.event.addListener(this.map, 'zoom_changed', function() {
|
645 |
+
|
646 |
zoomLevel = MYMAP.map.getZoom();
|
647 |
|
648 |
jQuery("#wpgmza_start_zoom").val(zoomLevel);
|
649 |
+
|
650 |
if (zoomLevel == 0) {
|
651 |
MYMAP.map.setZoom(10);
|
652 |
}
|
|
|
|
|
|
|
653 |
|
654 |
+
});
|
655 |
|
656 |
+
jQuery( "#wpgmza_map").trigger( 'wpgooglemaps_loaded' );
|
657 |
|
658 |
if (wpgmaps_localize_polygon_settings !== null) {
|
659 |
if (typeof wpgmaps_localize_polygon_settings !== "undefined") {
|
readme.txt
CHANGED
@@ -214,6 +214,9 @@ Please upgrade your version of WP Google Maps to version 6.0.27 as it includes m
|
|
214 |
|
215 |
== Changelog ==
|
216 |
|
|
|
|
|
|
|
217 |
= 6.4.05 - 2017-06-13 - Medium priority =
|
218 |
* Fixed the bug that caused JS errors to show up in the map editor
|
219 |
* Fixed a bug that caused the XML File option (for markers) to cause issues when trying to add a marker in the backend
|
214 |
|
215 |
== Changelog ==
|
216 |
|
217 |
+
= 6.4.06 - 2017-09-07 - Medium Priority =
|
218 |
+
* Bug Fix: Zoom level is not respected when saving
|
219 |
+
|
220 |
= 6.4.05 - 2017-06-13 - Medium priority =
|
221 |
* Fixed the bug that caused JS errors to show up in the map editor
|
222 |
* Fixed a bug that caused the XML File option (for markers) to cause issues when trying to add a marker in the backend
|
wpGoogleMaps.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Google Maps
|
4 |
Plugin URI: https://www.wpgmaps.com
|
5 |
Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
|
6 |
-
Version: 6.4.
|
7 |
Author: WP Google Maps
|
8 |
Author URI: https://www.wpgmaps.com
|
9 |
Text Domain: wp-google-maps
|
@@ -11,7 +11,9 @@ Domain Path: /languages
|
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
-
*
|
|
|
|
|
15 |
* 6.4.05 - 2017-06-13 - Medium priority
|
16 |
* Fixed the bug that caused JS errors to show up in the map editor
|
17 |
* Fixed a bug that caused the XML File option (for markers) to cause issues when trying to add a marker in the backend
|
@@ -331,7 +333,7 @@ $wpgmza_tblname_poly = $wpdb->prefix . "wpgmza_polygon";
|
|
331 |
$wpgmza_tblname_polylines = $wpdb->prefix . "wpgmza_polylines";
|
332 |
$wpgmza_tblname_categories = $wpdb->prefix. "wpgmza_categories";
|
333 |
$wpgmza_tblname_category_maps = $wpdb->prefix. "wpgmza_category_maps";
|
334 |
-
$wpgmza_version = "6.4.
|
335 |
$wpgmza_p_version = "6.13";
|
336 |
$wpgmza_t = "basic";
|
337 |
define("WPGMAPS", $wpgmza_version);
|
@@ -1283,6 +1285,9 @@ function wpgmaps_admin_javascript_basic() {
|
|
1283 |
|
1284 |
});
|
1285 |
|
|
|
|
|
|
|
1286 |
|
1287 |
google.maps.event.addListener(MYMAP.map, 'zoom_changed', function() {
|
1288 |
zoomLevel = MYMAP.map.getZoom();
|
@@ -1293,6 +1298,7 @@ function wpgmaps_admin_javascript_basic() {
|
|
1293 |
}
|
1294 |
});
|
1295 |
|
|
|
1296 |
|
1297 |
<?php
|
1298 |
$total_poly_array = wpgmza_b_return_polygon_id_array(sanitize_text_field($_GET['map_id']));
|
3 |
Plugin Name: WP Google Maps
|
4 |
Plugin URI: https://www.wpgmaps.com
|
5 |
Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
|
6 |
+
Version: 6.4.06
|
7 |
Author: WP Google Maps
|
8 |
Author URI: https://www.wpgmaps.com
|
9 |
Text Domain: wp-google-maps
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
+
* 6.4.06 - 2017-09-07 - Medium Priority
|
15 |
+
* Bug Fix: Zoom level is not respected when saving
|
16 |
+
*
|
17 |
* 6.4.05 - 2017-06-13 - Medium priority
|
18 |
* Fixed the bug that caused JS errors to show up in the map editor
|
19 |
* Fixed a bug that caused the XML File option (for markers) to cause issues when trying to add a marker in the backend
|
333 |
$wpgmza_tblname_polylines = $wpdb->prefix . "wpgmza_polylines";
|
334 |
$wpgmza_tblname_categories = $wpdb->prefix. "wpgmza_categories";
|
335 |
$wpgmza_tblname_category_maps = $wpdb->prefix. "wpgmza_category_maps";
|
336 |
+
$wpgmza_version = "6.4.06";
|
337 |
$wpgmza_p_version = "6.13";
|
338 |
$wpgmza_t = "basic";
|
339 |
define("WPGMAPS", $wpgmza_version);
|
1285 |
|
1286 |
});
|
1287 |
|
1288 |
+
/**
|
1289 |
+
* Deprecated in 6.4.05
|
1290 |
+
* This was deprecated in wpgmaps-admin-core.js however caused a bug instead
|
1291 |
|
1292 |
google.maps.event.addListener(MYMAP.map, 'zoom_changed', function() {
|
1293 |
zoomLevel = MYMAP.map.getZoom();
|
1298 |
}
|
1299 |
});
|
1300 |
|
1301 |
+
*/
|
1302 |
|
1303 |
<?php
|
1304 |
$total_poly_array = wpgmza_b_return_polygon_id_array(sanitize_text_field($_GET['map_id']));
|