Version Description
:- 2018-08-28 :- Medium priority = * Improved return_polygon_array function making edit polygon page more robust * Improved GoogleAPIErrorHandler, modal dialog with documentation links is now shown back end and front end for administrators * Implemented setOptions for generic marker module and WPGMZA.GoogleMarker module * Added load_textdomain_mofile to fix translation issues * Added event storelocatorgeocodecomplete (native) and storelocatorgeocodecomplete.wpgmza * Added event storelocatorresult (native) and storelocatorresult.wpgmza * Fixed map controls not applied without toggling developer mode * Fixed white border around new Google logo * Fixed Google API handling change blocking infowindow creation * Fixed some global settings not respected (zoom controls, etc.) * Fixed can't change wpgmza_maps_engine in WPGMZA_OTHER_SETTINGS when engine is set * Removed suffixed .wpgmza events being explicitly dispatched, WPGMZA.EventDispatcher now dispatches these automatically
Release Info
Developer | perryrylance |
Plugin | WP Google Maps |
Version | 7.10.29 |
Comparing to | |
See all releases |
Code changes from version 7.10.28 to 7.10.29
- base/includes/wp-google-maps-polygons.php +14 -12
- css/wp-google-maps-admin.css +68 -0
- css/wpgmza_style.css +83 -3
- html/google-maps-api-error-dialog.html.php +51 -0
- includes/build.log +136 -266
- includes/class.crud.php +2 -1
- includes/class.google-maps-api-loader.php +4 -5
- includes/class.plugin.php +24 -1
- includes/class.strings.php +5 -1
- includes/google-maps/class.google-maps-loader.php +4 -1
- js/v8/compatibility/google-ui-compatibility.js +25 -0
- js/v8/event-dispatcher.js +17 -0
- js/v8/google-api-error-handler.js +99 -5
- js/v8/google-maps/google-marker.js +5 -0
- js/v8/map-settings.js +10 -1
- js/v8/map.js +11 -6
- js/v8/marker.js +5 -0
- js/v8/open-layers/ol-geocoder.js +5 -2
- js/v8/open-layers/ol-info-window.js +0 -1
- js/v8/open-layers/ol-map.js +4 -3
- js/v8/open-layers/ol-marker.js +1 -2
- js/v8/scripts.json +7 -0
- js/wpgmaps.js +20 -1
- readme.txt +18 -0
- wpGoogleMaps.php +23 -8
@@ -796,19 +796,21 @@ function wpgmza_b_return_poly_options($poly_id) {
|
|
796 |
function wpgmza_b_return_polygon_array($poly_id) {
|
797 |
global $wpdb;
|
798 |
global $wpgmza_tblname_poly;
|
|
|
799 |
$results = $wpdb->get_results($wpdb->prepare("SELECT * FROM $wpgmza_tblname_poly WHERE `id` = %d LIMIT 1",intval($poly_id)) );
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
804 |
-
|
805 |
-
|
806 |
-
|
807 |
-
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
|
|
812 |
}
|
813 |
|
814 |
/**
|
796 |
function wpgmza_b_return_polygon_array($poly_id) {
|
797 |
global $wpdb;
|
798 |
global $wpgmza_tblname_poly;
|
799 |
+
|
800 |
$results = $wpdb->get_results($wpdb->prepare("SELECT * FROM $wpgmza_tblname_poly WHERE `id` = %d LIMIT 1",intval($poly_id)) );
|
801 |
+
|
802 |
+
if(empty($results))
|
803 |
+
return null;
|
804 |
+
|
805 |
+
$polyline = $results[0];
|
806 |
+
$polydata = $polyline->polydata;
|
807 |
+
|
808 |
+
$regex = '/-?(\d+)(\.\d+)?,\s*-?(\d+)(\.\d+)?/';
|
809 |
+
|
810 |
+
if(!preg_match_all($regex, $polydata, $m))
|
811 |
+
return array();
|
812 |
+
|
813 |
+
return $m[0];
|
814 |
}
|
815 |
|
816 |
/**
|
@@ -498,4 +498,72 @@ input.cmn-toggle-yes-no:checked + label:after {
|
|
498 |
{
|
499 |
width: 50vw;
|
500 |
height: 200px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
501 |
}
|
498 |
{
|
499 |
width: 50vw;
|
500 |
height: 200px;
|
501 |
+
}
|
502 |
+
|
503 |
+
#wpgmza-google-api-error-dialog
|
504 |
+
{
|
505 |
+
width: 66vw;
|
506 |
+
}
|
507 |
+
|
508 |
+
#wpgmza-google-api-error-list,
|
509 |
+
#wpgmza-google-api-error-list *
|
510 |
+
{
|
511 |
+
text-align: left;
|
512 |
+
}
|
513 |
+
|
514 |
+
#wpgmza-google-api-error-list
|
515 |
+
{
|
516 |
+
list-style: none;
|
517 |
+
}
|
518 |
+
|
519 |
+
#wpgmza-google-api-error-list li
|
520 |
+
{
|
521 |
+
background: ghostwhite;
|
522 |
+
padding: 0.5em;
|
523 |
+
margin: 0.5em;
|
524 |
+
}
|
525 |
+
|
526 |
+
#wpgmza-google-api-error-list li:before
|
527 |
+
{
|
528 |
+
content: "\26D4";
|
529 |
+
color: red;
|
530 |
+
}
|
531 |
+
|
532 |
+
#wpgmza-google-api-error-dialog a
|
533 |
+
{
|
534 |
+
color: blue;
|
535 |
+
}
|
536 |
+
|
537 |
+
#wpgmza-google-api-error-dialog .wpgmza-documentation-buttons
|
538 |
+
{
|
539 |
+
float: right;
|
540 |
+
}
|
541 |
+
|
542 |
+
#wpgmza-google-api-error-dialog .wpgmza-documentation-buttons a
|
543 |
+
{
|
544 |
+
color: #444444;
|
545 |
+
background: #F3F3F3;
|
546 |
+
border: 1px #DADADA solid;
|
547 |
+
padding: 5px 10px;
|
548 |
+
border-radius: 2px;
|
549 |
+
cursor: pointer;
|
550 |
+
font-size: 9pt;
|
551 |
+
outline: none;
|
552 |
+
}
|
553 |
+
|
554 |
+
#wpgmza-google-api-error-dialog .wpgmza-documentation-buttons a:hover {
|
555 |
+
border: 1px #C6C6C6 solid;
|
556 |
+
box-shadow: 1px 1px 1px #EAEAEA;
|
557 |
+
color: #333333;
|
558 |
+
background: #F7F7F7;
|
559 |
+
}
|
560 |
+
|
561 |
+
#wpgmza-google-api-error-dialog .wpgmza-documentation-buttons a:active {
|
562 |
+
box-shadow: inset 1px 1px 1px #DFDFDF;
|
563 |
+
}
|
564 |
+
|
565 |
+
#wpgmza-google-api-error-dialog .wpgmza-documentation-buttons a i
|
566 |
+
{
|
567 |
+
font-weight: bold;
|
568 |
+
padding-right: 0.3em;
|
569 |
}
|
@@ -202,11 +202,17 @@
|
|
202 |
.wpgmza_map img:not(button img) {
|
203 |
border: none !important;
|
204 |
background-color:transparent !important;
|
205 |
-
padding:0 !important;
|
206 |
box-shadow: none !important;
|
207 |
-
|
208 |
-
|
209 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
#wpgmza_map img { box-shadow: none !important; }
|
211 |
.wpgmza_table img {
|
212 |
box-shadow: none !important;
|
@@ -749,3 +755,77 @@ ul.wpgmza_marker_list_class {
|
|
749 |
color: #333;
|
750 |
|
751 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
.wpgmza_map img:not(button img) {
|
203 |
border: none !important;
|
204 |
background-color:transparent !important;
|
205 |
+
/* padding:0 !important; */ /* Moved to google-ui-compatibility.js */
|
206 |
box-shadow: none !important;
|
|
|
|
|
207 |
}
|
208 |
+
|
209 |
+
/* Don't allow white border around Google logo */
|
210 |
+
.wpgmza_map img[src$="//maps.gstatic.com/mapfiles/api-3/images/google4.png"],
|
211 |
+
img[src='http://maps.gstatic.com/mapfiles/api-3/images/google_white5.png']
|
212 |
+
{
|
213 |
+
box-shadow: none !important;
|
214 |
+
}
|
215 |
+
|
216 |
#wpgmza_map img { box-shadow: none !important; }
|
217 |
.wpgmza_table img {
|
218 |
box-shadow: none !important;
|
755 |
color: #333;
|
756 |
|
757 |
}
|
758 |
+
|
759 |
+
#wpgmza-google-api-error-dialog
|
760 |
+
{
|
761 |
+
width: 66vw;
|
762 |
+
}
|
763 |
+
|
764 |
+
#wpgmza-google-api-error-list,
|
765 |
+
#wpgmza-google-api-error-list *
|
766 |
+
{
|
767 |
+
text-align: left;
|
768 |
+
}
|
769 |
+
|
770 |
+
#wpgmza-google-api-error-list
|
771 |
+
{
|
772 |
+
list-style: none;
|
773 |
+
}
|
774 |
+
|
775 |
+
#wpgmza-google-api-error-list li
|
776 |
+
{
|
777 |
+
background: ghostwhite;
|
778 |
+
padding: 0.5em;
|
779 |
+
margin: 0.5em;
|
780 |
+
}
|
781 |
+
|
782 |
+
#wpgmza-google-api-error-list li:before
|
783 |
+
{
|
784 |
+
content: "\26D4";
|
785 |
+
color: red;
|
786 |
+
}
|
787 |
+
|
788 |
+
#wpgmza-google-api-error-dialog a
|
789 |
+
{
|
790 |
+
color: blue;
|
791 |
+
}
|
792 |
+
|
793 |
+
#wpgmza-google-api-error-dialog .wpgmza-documentation-buttons
|
794 |
+
{
|
795 |
+
float: right;
|
796 |
+
}
|
797 |
+
|
798 |
+
#wpgmza-google-api-error-dialog .wpgmza-documentation-buttons a
|
799 |
+
{
|
800 |
+
color: #444444;
|
801 |
+
background: #F3F3F3;
|
802 |
+
border: 1px #DADADA solid;
|
803 |
+
padding: 5px 10px;
|
804 |
+
border-radius: 2px;
|
805 |
+
cursor: pointer;
|
806 |
+
font-size: 9pt;
|
807 |
+
outline: none;
|
808 |
+
}
|
809 |
+
|
810 |
+
#wpgmza-google-api-error-dialog .wpgmza-documentation-buttons a:hover {
|
811 |
+
border: 1px #C6C6C6 solid;
|
812 |
+
box-shadow: 1px 1px 1px #EAEAEA;
|
813 |
+
color: #333333;
|
814 |
+
background: #F7F7F7;
|
815 |
+
}
|
816 |
+
|
817 |
+
#wpgmza-google-api-error-dialog .wpgmza-documentation-buttons a:active {
|
818 |
+
box-shadow: inset 1px 1px 1px #DFDFDF;
|
819 |
+
}
|
820 |
+
|
821 |
+
#wpgmza-google-api-error-dialog .wpgmza-documentation-buttons a i
|
822 |
+
{
|
823 |
+
font-weight: bold;
|
824 |
+
padding-right: 0.3em;
|
825 |
+
}
|
826 |
+
|
827 |
+
#wpgmza-google-api-error-dialog .wpgmza-front-end-only
|
828 |
+
{
|
829 |
+
color: red;
|
830 |
+
font-size: 0.8em;
|
831 |
+
}
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div id="wpgmza-google-api-error-dialog" data-remodal-id="wpgmza-google-api-error-dialog">
|
2 |
+
|
3 |
+
<h2><?php _e('Maps API Error', 'wp-google-maps'); ?></h2>
|
4 |
+
|
5 |
+
<div>
|
6 |
+
|
7 |
+
<p>
|
8 |
+
<?php
|
9 |
+
_e('One or more error(s) have occured attempting to initialize the Maps API:', 'wp-google-maps');
|
10 |
+
?>
|
11 |
+
</p>
|
12 |
+
|
13 |
+
<ul id="wpgmza-google-api-error-list">
|
14 |
+
<li class="template notice notice-error">
|
15 |
+
<span class="wpgmza-message"></span>
|
16 |
+
<span class="wpgmza-documentation-buttons">
|
17 |
+
<a target="_blank">
|
18 |
+
<i class="fa" aria-hidden="true"></i>
|
19 |
+
</a>
|
20 |
+
</span>
|
21 |
+
</li>
|
22 |
+
</ul>
|
23 |
+
|
24 |
+
</div>
|
25 |
+
|
26 |
+
<p>
|
27 |
+
<?php
|
28 |
+
_e('Please see the <a href="https://www.wpgmaps.com/documentation/creating-a-google-maps-api-key/">WP Google Maps Documentation</a> for a step by step guide on setting up your Google Maps API key.', 'wp-google-maps');
|
29 |
+
?>
|
30 |
+
</p>
|
31 |
+
|
32 |
+
<p>
|
33 |
+
<?php
|
34 |
+
_e('Please open your Developer Tools (F12 for most browsers) and see your JavaScript console for the full error message.', 'wp-google-maps');
|
35 |
+
?>
|
36 |
+
</p>
|
37 |
+
|
38 |
+
<p class="wpgmza-front-end-only">
|
39 |
+
<i class="fa fa-eye" aria-hidden="true"></i>
|
40 |
+
<?php
|
41 |
+
_e('This dialog is only visible to administrators', 'wp-google-maps');
|
42 |
+
?>
|
43 |
+
</p>
|
44 |
+
|
45 |
+
<button data-remodal-action="confirm" class="remodal-confirm">
|
46 |
+
<?php
|
47 |
+
_e('Dismiss', 'wp-google-maps');
|
48 |
+
?>
|
49 |
+
</button>
|
50 |
+
|
51 |
+
</div>
|
@@ -1,266 +1,136 @@
|
|
1 |
-
2018-08-
|
2 |
-
2018-08-
|
3 |
-
2018-08-
|
4 |
-
2018-08-
|
5 |
-
2018-08-
|
6 |
-
2018-08-
|
7 |
-
2018-08-
|
8 |
-
2018-08-
|
9 |
-
2018-08-
|
10 |
-
2018-08-
|
11 |
-
2018-08-
|
12 |
-
2018-08-
|
13 |
-
2018-08-
|
14 |
-
2018-08-
|
15 |
-
2018-08-
|
16 |
-
2018-08-
|
17 |
-
2018-08-
|
18 |
-
2018-08-
|
19 |
-
2018-08-
|
20 |
-
2018-08-
|
21 |
-
2018-08-
|
22 |
-
2018-08-
|
23 |
-
2018-08-
|
24 |
-
2018-08-
|
25 |
-
2018-08-
|
26 |
-
2018-08-
|
27 |
-
2018-08-
|
28 |
-
2018-08-
|
29 |
-
2018-08-
|
30 |
-
2018-08-
|
31 |
-
2018-08-
|
32 |
-
2018-08-
|
33 |
-
2018-08-
|
34 |
-
2018-08-
|
35 |
-
2018-08-
|
36 |
-
2018-08-
|
37 |
-
2018-08-
|
38 |
-
2018-08-
|
39 |
-
2018-08-
|
40 |
-
2018-08-
|
41 |
-
2018-08-
|
42 |
-
2018-08-
|
43 |
-
2018-08-
|
44 |
-
2018-08-
|
45 |
-
2018-08-
|
46 |
-
2018-08-
|
47 |
-
2018-08-
|
48 |
-
2018-08-
|
49 |
-
2018-08-
|
50 |
-
2018-08-
|
51 |
-
2018-08-
|
52 |
-
2018-08-
|
53 |
-
2018-08-
|
54 |
-
2018-08-
|
55 |
-
2018-08-
|
56 |
-
2018-08-
|
57 |
-
2018-08-
|
58 |
-
2018-08-
|
59 |
-
2018-08-
|
60 |
-
2018-08-
|
61 |
-
2018-08-
|
62 |
-
2018-08-
|
63 |
-
2018-08-
|
64 |
-
2018-08-
|
65 |
-
2018-08-
|
66 |
-
2018-08-
|
67 |
-
2018-08-
|
68 |
-
2018-08-
|
69 |
-
2018-08-
|
70 |
-
2018-08-
|
71 |
-
2018-08-
|
72 |
-
2018-08-
|
73 |
-
2018-08-
|
74 |
-
2018-08-
|
75 |
-
2018-08-
|
76 |
-
2018-08-
|
77 |
-
2018-08-
|
78 |
-
2018-08-
|
79 |
-
2018-08-
|
80 |
-
2018-08-
|
81 |
-
2018-08-
|
82 |
-
2018-08-
|
83 |
-
2018-08-
|
84 |
-
2018-08-
|
85 |
-
2018-08-
|
86 |
-
2018-08-
|
87 |
-
2018-08-
|
88 |
-
2018-08-
|
89 |
-
2018-08-
|
90 |
-
2018-08-
|
91 |
-
2018-08-
|
92 |
-
2018-08-
|
93 |
-
2018-08-
|
94 |
-
2018-08-
|
95 |
-
2018-08-
|
96 |
-
2018-08-
|
97 |
-
2018-08-
|
98 |
-
2018-08-
|
99 |
-
2018-08-
|
100 |
-
2018-08-
|
101 |
-
2018-08-
|
102 |
-
2018-08-
|
103 |
-
2018-08-
|
104 |
-
2018-08-
|
105 |
-
2018-08-
|
106 |
-
2018-08-
|
107 |
-
2018-08-
|
108 |
-
2018-08-
|
109 |
-
2018-08-
|
110 |
-
2018-08-
|
111 |
-
2018-08-
|
112 |
-
2018-08-
|
113 |
-
2018-08-
|
114 |
-
2018-08-
|
115 |
-
2018-08-
|
116 |
-
2018-08-
|
117 |
-
2018-08-
|
118 |
-
2018-08-
|
119 |
-
2018-08-
|
120 |
-
2018-08-
|
121 |
-
2018-08-
|
122 |
-
2018-08-
|
123 |
-
2018-08-
|
124 |
-
2018-08-
|
125 |
-
2018-08-
|
126 |
-
2018-08-
|
127 |
-
2018-08-
|
128 |
-
2018-08-
|
129 |
-
2018-08-
|
130 |
-
2018-08-
|
131 |
-
2018-08-
|
132 |
-
2018-08-
|
133 |
-
2018-08-
|
134 |
-
2018-08-
|
135 |
-
2018-08-
|
136 |
-
2018-08-
|
137 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-map-object
|
138 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/compatibility.js
|
139 |
-
2018-08-17 09:16:47 :- Found wpgmza-compatibility
|
140 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
141 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/core.js
|
142 |
-
2018-08-17 09:16:47 :- Found wpgmza
|
143 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/css-escape.js
|
144 |
-
2018-08-17 09:16:47 :- Found wpgmza-wpgmza-css
|
145 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
146 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/distance.js
|
147 |
-
2018-08-17 09:16:47 :- Found wpgmza-distance
|
148 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
149 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/event-dispatcher.js
|
150 |
-
2018-08-17 09:16:47 :- Found wpgmza-event-dispatcher
|
151 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
152 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/event.js
|
153 |
-
2018-08-17 09:16:47 :- Found wpgmza-event
|
154 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
155 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/friendly-error.js
|
156 |
-
2018-08-17 09:16:47 :- Found wpgmza-friendly-error
|
157 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
158 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/geocoder.js
|
159 |
-
2018-08-17 09:16:47 :- Found wpgmza-geocoder
|
160 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
161 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-api-error-handler.js
|
162 |
-
2018-08-17 09:16:47 :- Found wpgmza-google-api-error-handler
|
163 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
164 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/info-window.js
|
165 |
-
2018-08-17 09:16:47 :- Found wpgmza-info-window
|
166 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-event-dispatcher
|
167 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/latlng.js
|
168 |
-
2018-08-17 09:16:47 :- Found wpgmza-lat-lng
|
169 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
170 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/latlngbounds.js
|
171 |
-
2018-08-17 09:16:47 :- Found wpgmza-lat-lng-bounds
|
172 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
173 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/map-object.js
|
174 |
-
2018-08-17 09:16:47 :- Found wpgmza-map-object
|
175 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-event-dispatcher
|
176 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/map-settings-page.js
|
177 |
-
2018-08-17 09:16:47 :- Found wpgmza-map-settings-page
|
178 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
179 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/map-settings.js
|
180 |
-
2018-08-17 09:16:47 :- Found wpgmza-map-settings
|
181 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
182 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/map.js
|
183 |
-
2018-08-17 09:16:47 :- Found wpgmza-map
|
184 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-event-dispatcher
|
185 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/maps-engine-dialog.js
|
186 |
-
2018-08-17 09:16:47 :- Found wpgmza-maps-engine-dialog
|
187 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
188 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/marker.js
|
189 |
-
2018-08-17 09:16:47 :- Found wpgmza-marker
|
190 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
191 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/modern-store-locator-circle.js
|
192 |
-
2018-08-17 09:16:47 :- Found wpgmza-modern-store-locator-circle
|
193 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
194 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/modern-store-locator.js
|
195 |
-
2018-08-17 09:16:47 :- Found wpgmza-modern-store-locator
|
196 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
197 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/polygon.js
|
198 |
-
2018-08-17 09:16:47 :- Found wpgmza-polygon
|
199 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-map-object
|
200 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/polyline.js
|
201 |
-
2018-08-17 09:16:47 :- Found wpgmza-polyline
|
202 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-map-object
|
203 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/rest-api.js
|
204 |
-
2018-08-17 09:16:47 :- Found wpgmza-wpgmza-rest-api
|
205 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
206 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/v7-custom-script.js
|
207 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/version.js
|
208 |
-
2018-08-17 09:16:47 :- Found wpgmza-version
|
209 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza
|
210 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-circle.js
|
211 |
-
2018-08-17 09:16:47 :- Found wpgmza-google-circle
|
212 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-circle
|
213 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-geocoder.js
|
214 |
-
2018-08-17 09:16:47 :- Found wpgmza-google-geocoder
|
215 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-geocoder
|
216 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-info-window.js
|
217 |
-
2018-08-17 09:16:47 :- Found wpgmza-google-info-window
|
218 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-info-window
|
219 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-map.js
|
220 |
-
2018-08-17 09:16:47 :- Found wpgmza-google-map
|
221 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-map
|
222 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-marker.js
|
223 |
-
2018-08-17 09:16:47 :- Found wpgmza-google-marker
|
224 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-marker
|
225 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-modern-store-locator-circle.js
|
226 |
-
2018-08-17 09:16:47 :- Found wpgmza-google-modern-store-locator-circle
|
227 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-modern-store-locator-circle
|
228 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-modern-store-locator.js
|
229 |
-
2018-08-17 09:16:47 :- Found wpgmza-google-modern-store-locator
|
230 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-modern-store-locator
|
231 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-polygon.js
|
232 |
-
2018-08-17 09:16:47 :- Found wpgmza-google-polygon
|
233 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-polygon
|
234 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-polyline.js
|
235 |
-
2018-08-17 09:16:47 :- Found wpgmza-google-polyline
|
236 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-polyline
|
237 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-vertex-context-menu.js
|
238 |
-
2018-08-17 09:16:47 :- Found wpgmza-google-vertex-context-menu
|
239 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza_api_call
|
240 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-circle.js
|
241 |
-
2018-08-17 09:16:47 :- Found wpgmza-ol-circle
|
242 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-circle
|
243 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-geocoder.js
|
244 |
-
2018-08-17 09:16:47 :- Found wpgmza-ol-geocoder
|
245 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-geocoder
|
246 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-info-window.js
|
247 |
-
2018-08-17 09:16:47 :- Found wpgmza-ol-info-window
|
248 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-info-window
|
249 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-map.js
|
250 |
-
2018-08-17 09:16:47 :- Found wpgmza-ol-map
|
251 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-map
|
252 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-marker.js
|
253 |
-
2018-08-17 09:16:47 :- Found wpgmza-ol-marker
|
254 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-marker
|
255 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-modern-store-locator-circle.js
|
256 |
-
2018-08-17 09:16:47 :- Found wpgmza-ol-modern-store-locator-circle
|
257 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-modern-store-locator-circle
|
258 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-modern-store-locator.js
|
259 |
-
2018-08-17 09:16:47 :- Found wpgmza-ol-modern-store-locator
|
260 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-modern-store-locator
|
261 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-polygon.js
|
262 |
-
2018-08-17 09:16:47 :- Found wpgmza-ol-polygon
|
263 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-polygon
|
264 |
-
2018-08-17 09:16:47 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-polyline.js
|
265 |
-
2018-08-17 09:16:47 :- Found wpgmza-ol-polyline
|
266 |
-
2018-08-17 09:16:47 :- Adding dependency wpgmza-polyline
|
1 |
+
2018-08-29 07:42:21 :- Scanning dependencies
|
2 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/circle.js
|
3 |
+
2018-08-29 07:42:21 :- Found wpgmza-circle
|
4 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-map-object
|
5 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/compatibility.js
|
6 |
+
2018-08-29 07:42:21 :- Found wpgmza-compatibility
|
7 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
8 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/core.js
|
9 |
+
2018-08-29 07:42:21 :- Found wpgmza
|
10 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/css-escape.js
|
11 |
+
2018-08-29 07:42:21 :- Found wpgmza-wpgmza-css
|
12 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
13 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/distance.js
|
14 |
+
2018-08-29 07:42:21 :- Found wpgmza-distance
|
15 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
16 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/event-dispatcher.js
|
17 |
+
2018-08-29 07:42:21 :- Found wpgmza-event-dispatcher
|
18 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
19 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/event.js
|
20 |
+
2018-08-29 07:42:21 :- Found wpgmza-event
|
21 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
22 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/friendly-error.js
|
23 |
+
2018-08-29 07:42:21 :- Found wpgmza-friendly-error
|
24 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
25 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/geocoder.js
|
26 |
+
2018-08-29 07:42:21 :- Found wpgmza-geocoder
|
27 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
28 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-api-error-handler.js
|
29 |
+
2018-08-29 07:42:21 :- Found wpgmza-google-api-error-handler
|
30 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
31 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/info-window.js
|
32 |
+
2018-08-29 07:42:21 :- Found wpgmza-info-window
|
33 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-event-dispatcher
|
34 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/latlng.js
|
35 |
+
2018-08-29 07:42:21 :- Found wpgmza-lat-lng
|
36 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
37 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/latlngbounds.js
|
38 |
+
2018-08-29 07:42:21 :- Found wpgmza-lat-lng-bounds
|
39 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
40 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/map-object.js
|
41 |
+
2018-08-29 07:42:21 :- Found wpgmza-map-object
|
42 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-event-dispatcher
|
43 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/map-settings-page.js
|
44 |
+
2018-08-29 07:42:21 :- Found wpgmza-map-settings-page
|
45 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
46 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/map-settings.js
|
47 |
+
2018-08-29 07:42:21 :- Found wpgmza-map-settings
|
48 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
49 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/map.js
|
50 |
+
2018-08-29 07:42:21 :- Found wpgmza-map
|
51 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-event-dispatcher
|
52 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/maps-engine-dialog.js
|
53 |
+
2018-08-29 07:42:21 :- Found wpgmza-maps-engine-dialog
|
54 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
55 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/marker.js
|
56 |
+
2018-08-29 07:42:21 :- Found wpgmza-marker
|
57 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
58 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/modern-store-locator-circle.js
|
59 |
+
2018-08-29 07:42:21 :- Found wpgmza-modern-store-locator-circle
|
60 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
61 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/modern-store-locator.js
|
62 |
+
2018-08-29 07:42:21 :- Found wpgmza-modern-store-locator
|
63 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
64 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/polygon.js
|
65 |
+
2018-08-29 07:42:21 :- Found wpgmza-polygon
|
66 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-map-object
|
67 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/polyline.js
|
68 |
+
2018-08-29 07:42:21 :- Found wpgmza-polyline
|
69 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-map-object
|
70 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/rest-api.js
|
71 |
+
2018-08-29 07:42:21 :- Found wpgmza-wpgmza-rest-api
|
72 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
73 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/v7-custom-script.js
|
74 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/version.js
|
75 |
+
2018-08-29 07:42:21 :- Found wpgmza-version
|
76 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
77 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/compatibility/google-ui-compatibility.js
|
78 |
+
2018-08-29 07:42:21 :- Found wpgmza-google-ui-compatibility
|
79 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza
|
80 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-circle.js
|
81 |
+
2018-08-29 07:42:21 :- Found wpgmza-google-circle
|
82 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-circle
|
83 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-geocoder.js
|
84 |
+
2018-08-29 07:42:21 :- Found wpgmza-google-geocoder
|
85 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-geocoder
|
86 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-info-window.js
|
87 |
+
2018-08-29 07:42:21 :- Found wpgmza-google-info-window
|
88 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-info-window
|
89 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-map.js
|
90 |
+
2018-08-29 07:42:21 :- Found wpgmza-google-map
|
91 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-map
|
92 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-marker.js
|
93 |
+
2018-08-29 07:42:21 :- Found wpgmza-google-marker
|
94 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-marker
|
95 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-modern-store-locator-circle.js
|
96 |
+
2018-08-29 07:42:21 :- Found wpgmza-google-modern-store-locator-circle
|
97 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-modern-store-locator-circle
|
98 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-modern-store-locator.js
|
99 |
+
2018-08-29 07:42:21 :- Found wpgmza-google-modern-store-locator
|
100 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-modern-store-locator
|
101 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-polygon.js
|
102 |
+
2018-08-29 07:42:21 :- Found wpgmza-google-polygon
|
103 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-polygon
|
104 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-polyline.js
|
105 |
+
2018-08-29 07:42:21 :- Found wpgmza-google-polyline
|
106 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-polyline
|
107 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/google-maps/google-vertex-context-menu.js
|
108 |
+
2018-08-29 07:42:21 :- Found wpgmza-google-vertex-context-menu
|
109 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza_api_call
|
110 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-circle.js
|
111 |
+
2018-08-29 07:42:21 :- Found wpgmza-ol-circle
|
112 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-circle
|
113 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-geocoder.js
|
114 |
+
2018-08-29 07:42:21 :- Found wpgmza-ol-geocoder
|
115 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-geocoder
|
116 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-info-window.js
|
117 |
+
2018-08-29 07:42:21 :- Found wpgmza-ol-info-window
|
118 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-info-window
|
119 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-map.js
|
120 |
+
2018-08-29 07:42:21 :- Found wpgmza-ol-map
|
121 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-map
|
122 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-marker.js
|
123 |
+
2018-08-29 07:42:21 :- Found wpgmza-ol-marker
|
124 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-marker
|
125 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-modern-store-locator-circle.js
|
126 |
+
2018-08-29 07:42:21 :- Found wpgmza-ol-modern-store-locator-circle
|
127 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-modern-store-locator-circle
|
128 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-modern-store-locator.js
|
129 |
+
2018-08-29 07:42:21 :- Found wpgmza-ol-modern-store-locator
|
130 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-modern-store-locator
|
131 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-polygon.js
|
132 |
+
2018-08-29 07:42:21 :- Found wpgmza-ol-polygon
|
133 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-polygon
|
134 |
+
2018-08-29 07:42:21 :- Reading E:\Programming\Code Cabin\htdocs-quick-fix\wp-content\plugins\wp-google-maps/js/v8/open-layers/ol-polyline.js
|
135 |
+
2018-08-29 07:42:21 :- Found wpgmza-ol-polyline
|
136 |
+
2018-08-29 07:42:21 :- Adding dependency wpgmza-polyline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -4,6 +4,8 @@ namespace WPGMZA;
|
|
4 |
|
5 |
class Crud implements \IteratorAggregate, \JsonSerializable
|
6 |
{
|
|
|
|
|
7 |
private static $cached_columns_by_table_name;
|
8 |
private static $cached_column_name_map_by_table_name;
|
9 |
|
@@ -37,7 +39,6 @@ class Crud implements \IteratorAggregate, \JsonSerializable
|
|
37 |
throw new \Exception('Invalid ID');
|
38 |
|
39 |
$this->table_name = $table_name;
|
40 |
-
|
41 |
$this->id = $id;
|
42 |
|
43 |
if(!isset(Crud::$cached_columns_by_table_name))
|
4 |
|
5 |
class Crud implements \IteratorAggregate, \JsonSerializable
|
6 |
{
|
7 |
+
const BULK_READ = "bulk-read";
|
8 |
+
|
9 |
private static $cached_columns_by_table_name;
|
10 |
private static $cached_column_name_map_by_table_name;
|
11 |
|
39 |
throw new \Exception('Invalid ID');
|
40 |
|
41 |
$this->table_name = $table_name;
|
|
|
42 |
$this->id = $id;
|
43 |
|
44 |
if(!isset(Crud::$cached_columns_by_table_name))
|
@@ -28,11 +28,10 @@ class GoogleMapsAPILoader
|
|
28 |
GoogleMapsAPILoader::$settings = (array)$wpgmza->settings;
|
29 |
}
|
30 |
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
}
|
36 |
}
|
37 |
|
38 |
public static function _createInstance()
|
28 |
GoogleMapsAPILoader::$settings = (array)$wpgmza->settings;
|
29 |
}
|
30 |
|
31 |
+
$include_allowed = $this->isIncludeAllowed($status);
|
32 |
+
$isAllowed = $this->isIncludeAllowed($status);
|
33 |
+
|
34 |
+
echo "<script>var wpgmza_google_api_status = " . json_encode($status) . "</script>";
|
|
|
35 |
}
|
36 |
|
37 |
public static function _createInstance()
|
@@ -28,6 +28,8 @@ class Plugin
|
|
28 |
{
|
29 |
global $wpdb;
|
30 |
|
|
|
|
|
31 |
$this->mysqlVersion = $wpdb->get_var('SELECT VERSION()');
|
32 |
|
33 |
$this->legacySettings = get_option('WPGMZA_OTHER_SETTINGS');
|
@@ -150,16 +152,29 @@ class Plugin
|
|
150 |
{
|
151 |
global $wpgmzaGDPRCompliance;
|
152 |
|
|
|
|
|
|
|
|
|
153 |
$strings = new Strings();
|
154 |
|
155 |
return apply_filters('wpgmza_plugin_get_localized_data', array(
|
156 |
'ajaxurl' => admin_url('admin-ajax.php'),
|
157 |
'resturl' => get_rest_url(null, 'wpgmza/v1'),
|
|
|
|
|
|
|
|
|
|
|
158 |
'settings' => $this->settings,
|
|
|
|
|
|
|
159 |
'localized_strings' => $strings->getLocalizedStrings(),
|
160 |
'api_consent_html' => $wpgmzaGDPRCompliance->getConsentPromptHTML(),
|
161 |
'basic_version' => $this->getBasicVersion(),
|
162 |
-
'_isProVersion' => $this->isProVersion()
|
|
|
163 |
));
|
164 |
}
|
165 |
|
@@ -227,6 +242,14 @@ class Plugin
|
|
227 |
|
228 |
return $this->cachedVersion;
|
229 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
}
|
231 |
|
232 |
function create_plugin_instance()
|
28 |
{
|
29 |
global $wpdb;
|
30 |
|
31 |
+
add_filter('load_textdomain_mofile', array($this, 'onLoadTextDomainMOFile'), 10, 2);
|
32 |
+
|
33 |
$this->mysqlVersion = $wpdb->get_var('SELECT VERSION()');
|
34 |
|
35 |
$this->legacySettings = get_option('WPGMZA_OTHER_SETTINGS');
|
152 |
{
|
153 |
global $wpgmzaGDPRCompliance;
|
154 |
|
155 |
+
$document = new DOMDocument();
|
156 |
+
$document->loadPHPFile(plugin_dir_path(__DIR__) . 'html/google-maps-api-error-dialog.html.php');
|
157 |
+
$googleMapsAPIErrorDialogHTML = $document->saveInnerBody();
|
158 |
+
|
159 |
$strings = new Strings();
|
160 |
|
161 |
return apply_filters('wpgmza_plugin_get_localized_data', array(
|
162 |
'ajaxurl' => admin_url('admin-ajax.php'),
|
163 |
'resturl' => get_rest_url(null, 'wpgmza/v1'),
|
164 |
+
|
165 |
+
'html' => array(
|
166 |
+
'googleMapsAPIErrorDialog' => $googleMapsAPIErrorDialogHTML
|
167 |
+
),
|
168 |
+
|
169 |
'settings' => $this->settings,
|
170 |
+
'currentPage' => $this->getCurrentPage(),
|
171 |
+
'userCanAdministrator' => (current_user_can('administrator') ? 1 : 0),
|
172 |
+
|
173 |
'localized_strings' => $strings->getLocalizedStrings(),
|
174 |
'api_consent_html' => $wpgmzaGDPRCompliance->getConsentPromptHTML(),
|
175 |
'basic_version' => $this->getBasicVersion(),
|
176 |
+
'_isProVersion' => $this->isProVersion(),
|
177 |
+
'is_admin' => (is_admin() ? 1 : 0)
|
178 |
));
|
179 |
}
|
180 |
|
242 |
|
243 |
return $this->cachedVersion;
|
244 |
}
|
245 |
+
|
246 |
+
public function onLoadTextDomainMOFile($mofile, $domain)
|
247 |
+
{
|
248 |
+
if($domain == 'wp-google-maps')
|
249 |
+
$mofile = plugin_dir_path(__DIR__) . 'languages/wp-google-maps-' . get_locale() . '.mo';
|
250 |
+
|
251 |
+
return $mofile;
|
252 |
+
}
|
253 |
}
|
254 |
|
255 |
function create_plugin_instance()
|
@@ -7,7 +7,11 @@ class Strings
|
|
7 |
public function getLocalizedStrings()
|
8 |
{
|
9 |
return apply_filters('wpgmza_localized_strings', array(
|
10 |
-
'unsecure_geolocation' => __('Many browsers are no longer allowing geolocation from unsecured origins. You will need to secure your site with an SSL certificate (HTTPS) or this feature may not work for your visitors', 'wp-google-maps')
|
|
|
|
|
|
|
|
|
11 |
));
|
12 |
}
|
13 |
|
7 |
public function getLocalizedStrings()
|
8 |
{
|
9 |
return apply_filters('wpgmza_localized_strings', array(
|
10 |
+
'unsecure_geolocation' => __('Many browsers are no longer allowing geolocation from unsecured origins. You will need to secure your site with an SSL certificate (HTTPS) or this feature may not work for your visitors', 'wp-google-maps'),
|
11 |
+
|
12 |
+
'documentation' => __('Documentation', 'wp-google-maps'),
|
13 |
+
'api_dashboard' => __('API Dashboard', 'wp-google-maps'),
|
14 |
+
'verify_project' => __('Verify Project', 'wp-google-maps')
|
15 |
));
|
16 |
}
|
17 |
|
@@ -2,6 +2,7 @@
|
|
2 |
|
3 |
namespace WPGMZA;
|
4 |
|
|
|
5 |
class GoogleMapsLoader
|
6 |
{
|
7 |
private static $googleAPILoadCalled = false;
|
@@ -67,9 +68,11 @@ class GoogleMapsLoader
|
|
67 |
$params['v'] = Plugin::$settings->api_version;
|
68 |
}
|
69 |
|
|
|
|
|
70 |
// API Key
|
71 |
if(!empty(Plugin::$settings->google_maps_api_key))
|
72 |
-
$params['key'] = Plugin::$settings->google_maps_api_key
|
73 |
|
74 |
//if($wpgmza->getCurrentPage() == 'map-edit')
|
75 |
//$params['libraries'] = 'drawing';
|
2 |
|
3 |
namespace WPGMZA;
|
4 |
|
5 |
+
// TODO: Extend Factory
|
6 |
class GoogleMapsLoader
|
7 |
{
|
8 |
private static $googleAPILoadCalled = false;
|
68 |
$params['v'] = Plugin::$settings->api_version;
|
69 |
}
|
70 |
|
71 |
+
*/
|
72 |
+
|
73 |
// API Key
|
74 |
if(!empty(Plugin::$settings->google_maps_api_key))
|
75 |
+
$params['key'] = Plugin::$settings->google_maps_api_key;
|
76 |
|
77 |
//if($wpgmza->getCurrentPage() == 'map-edit')
|
78 |
//$params['libraries'] = 'drawing';
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @namespace WPGMZA
|
3 |
+
* @module GoogleUICompatibility
|
4 |
+
* @requires WPGMZA
|
5 |
+
*/
|
6 |
+
(function($) {
|
7 |
+
|
8 |
+
WPGMZA.GoogleUICompatibility = function()
|
9 |
+
{
|
10 |
+
var isSafari = navigator.vendor && navigator.vendor.indexOf('Apple') > -1 &&
|
11 |
+
navigator.userAgent &&
|
12 |
+
navigator.userAgent.indexOf('CriOS') == -1 &&
|
13 |
+
navigator.userAgent.indexOf('FxiOS') == -1;
|
14 |
+
|
15 |
+
if(!isSafari)
|
16 |
+
{
|
17 |
+
var style = $("<style id='wpgmza-google-ui-compatiblity-fix'/>");
|
18 |
+
style.html(".wpgmza_map img:not(button img) { padding:0 !important; }");
|
19 |
+
$(document.head).append(style);
|
20 |
+
}
|
21 |
+
}
|
22 |
+
|
23 |
+
WPGMZA.googleUICompatibility = new WPGMZA.GoogleUICompatibility();
|
24 |
+
|
25 |
+
})(jQuery);
|
@@ -107,6 +107,23 @@
|
|
107 |
event.phase = WPGMZA.Event.BUBBLING_PHASE;
|
108 |
for(i = path.length - 1; i >= 0 && !event._cancelled; i--)
|
109 |
path[i]._triggerListeners(event);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
}
|
111 |
|
112 |
WPGMZA.EventDispatcher.prototype.trigger = WPGMZA.EventDispatcher.prototype.dispatchEvent;
|
107 |
event.phase = WPGMZA.Event.BUBBLING_PHASE;
|
108 |
for(i = path.length - 1; i >= 0 && !event._cancelled; i--)
|
109 |
path[i]._triggerListeners(event);
|
110 |
+
|
111 |
+
if(this.element)
|
112 |
+
{
|
113 |
+
var customEvent = {};
|
114 |
+
|
115 |
+
for(var key in event)
|
116 |
+
{
|
117 |
+
var value = event[key];
|
118 |
+
|
119 |
+
if(key == "type")
|
120 |
+
value += ".wpgmza";
|
121 |
+
|
122 |
+
customEvent[key] = value;
|
123 |
+
}
|
124 |
+
|
125 |
+
$(this.element).trigger(customEvent);
|
126 |
+
}
|
127 |
}
|
128 |
|
129 |
WPGMZA.EventDispatcher.prototype.trigger = WPGMZA.EventDispatcher.prototype.dispatchEvent;
|
@@ -7,23 +7,117 @@
|
|
7 |
|
8 |
WPGMZA.GoogleAPIErrorHandler = function() {
|
9 |
|
|
|
|
|
|
|
10 |
if(WPGMZA.settings.engine != "google-maps")
|
11 |
return;
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
var _error = console.error;
|
14 |
|
15 |
console.error = function(message)
|
16 |
{
|
17 |
-
|
18 |
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
{
|
21 |
-
var
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
}
|
24 |
|
25 |
-
|
26 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
}
|
28 |
|
29 |
WPGMZA.googleAPIErrorHandler = new WPGMZA.GoogleAPIErrorHandler();
|
7 |
|
8 |
WPGMZA.GoogleAPIErrorHandler = function() {
|
9 |
|
10 |
+
var self = this;
|
11 |
+
|
12 |
+
// Don't do anything if Google isn't the selected API
|
13 |
if(WPGMZA.settings.engine != "google-maps")
|
14 |
return;
|
15 |
|
16 |
+
// Only allow on the map edit page, or front end if user has administrator role
|
17 |
+
if(!(WPGMZA.currentPage == "map-edit" || (WPGMZA.is_admin == 0 && WPGMZA.userCanAdministrator == 1)))
|
18 |
+
return;
|
19 |
+
|
20 |
+
this.element = $(WPGMZA.html.googleMapsAPIErrorDialog);
|
21 |
+
|
22 |
+
if(WPGMZA.is_admin == 1)
|
23 |
+
this.element.find(".wpgmza-front-end-only").remove();
|
24 |
+
|
25 |
+
this.errorMessageList = this.element.find("#wpgmza-google-api-error-list");
|
26 |
+
this.templateListItem = this.element.find("li.template").remove();
|
27 |
+
|
28 |
+
this.messagesAlreadyDisplayed = {};
|
29 |
+
|
30 |
+
// Override error function
|
31 |
var _error = console.error;
|
32 |
|
33 |
console.error = function(message)
|
34 |
{
|
35 |
+
self.onErrorMessage(message);
|
36 |
|
37 |
+
_error.apply(this, arguments);
|
38 |
+
}
|
39 |
+
}
|
40 |
+
|
41 |
+
WPGMZA.GoogleAPIErrorHandler.prototype.onErrorMessage = function(message)
|
42 |
+
{
|
43 |
+
var m;
|
44 |
+
var regexURL = /http(s)?:\/\/[^\s]+/gm;
|
45 |
+
|
46 |
+
if((m = message.match(/You have exceeded your (daily )?request quota for this API/)) || (m = message.match(/This API project is not authorized to use this API/)))
|
47 |
+
{
|
48 |
+
var urls = message.match(regexURL);
|
49 |
+
this.addErrorMessage(m[0], urls);
|
50 |
+
}
|
51 |
+
else if(m = message.match(/^Google Maps.+error: (.+)\s+(http(s?):\/\/.+)/m))
|
52 |
+
{
|
53 |
+
this.addErrorMessage(m[1].replace(/([A-Z])/g, " $1"), [m[2]]);
|
54 |
+
}
|
55 |
+
}
|
56 |
+
|
57 |
+
WPGMZA.GoogleAPIErrorHandler.prototype.addErrorMessage = function(message, urls)
|
58 |
+
{
|
59 |
+
if(this.messagesAlreadyDisplayed[message])
|
60 |
+
return;
|
61 |
+
|
62 |
+
var li = this.templateListItem.clone();
|
63 |
+
$(li).find(".wpgmza-message").html(message);
|
64 |
+
|
65 |
+
var buttonContainer = $(li).find(".wpgmza-documentation-buttons");
|
66 |
+
|
67 |
+
var buttonTemplate = $(li).find(".wpgmza-documentation-buttons>a");
|
68 |
+
buttonTemplate.remove();
|
69 |
+
|
70 |
+
if(urls && urls.length)
|
71 |
+
{
|
72 |
+
for(var i = 0; i < urls.length; i++)
|
73 |
{
|
74 |
+
var url = urls[i];
|
75 |
+
var button = buttonTemplate.clone();
|
76 |
+
var icon = "fa-external-link";
|
77 |
+
var text = WPGMZA.localized_strings.documentation;
|
78 |
+
|
79 |
+
button.attr("href", urls[i]);
|
80 |
+
|
81 |
+
if(url.match(/google.+documentation/))
|
82 |
+
{
|
83 |
+
icon = "fa-google";
|
84 |
+
}
|
85 |
+
else if(url.match(/maps-no-account/))
|
86 |
+
{
|
87 |
+
icon = "fa-wrench"
|
88 |
+
text = WPGMZA.localized_strings.verify_project;
|
89 |
+
}
|
90 |
+
else if(url.match(/console\.developers\.google/))
|
91 |
+
{
|
92 |
+
icon = "fa-wrench";
|
93 |
+
text = WPGMZA.localized_strings.api_dashboard;
|
94 |
+
}
|
95 |
+
|
96 |
+
$(button).find("i").addClass(icon);
|
97 |
+
$(button).append(text);
|
98 |
}
|
99 |
|
100 |
+
buttonContainer.append(button);
|
101 |
}
|
102 |
+
|
103 |
+
$(this.errorMessageList).append(li);
|
104 |
+
|
105 |
+
if(!this.dialog)
|
106 |
+
this.dialog = $(this.element).remodal();
|
107 |
+
|
108 |
+
switch(this.dialog.getState())
|
109 |
+
{
|
110 |
+
case "open":
|
111 |
+
case "opened":
|
112 |
+
case "opening":
|
113 |
+
break;
|
114 |
+
|
115 |
+
default:
|
116 |
+
this.dialog.open();
|
117 |
+
break;
|
118 |
+
}
|
119 |
+
|
120 |
+
this.messagesAlreadyDisplayed[message] = true;
|
121 |
}
|
122 |
|
123 |
WPGMZA.googleAPIErrorHandler = new WPGMZA.GoogleAPIErrorHandler();
|
@@ -140,6 +140,11 @@
|
|
140 |
img.src = params.url;
|
141 |
}
|
142 |
|
|
|
|
|
|
|
|
|
|
|
143 |
/**
|
144 |
* Set the marker animation
|
145 |
* @return void
|
140 |
img.src = params.url;
|
141 |
}
|
142 |
|
143 |
+
WPGMZA.GoogleMarker.prototype.setOptions = function(options)
|
144 |
+
{
|
145 |
+
this.googleMarker.setOptions(options);
|
146 |
+
}
|
147 |
+
|
148 |
/**
|
149 |
* Set the marker animation
|
150 |
* @return void
|
@@ -15,6 +15,13 @@
|
|
15 |
|
16 |
WPGMZA.assertInstanceOf(this, "MapSettings");
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
for(var key in json)
|
19 |
{
|
20 |
var value = json[key];
|
@@ -136,8 +143,10 @@
|
|
136 |
options.disableDoubleClickZoom = !(this.wpgmza_settings_map_clickzoom == 'yes');
|
137 |
options.scrollwheel = !(this.wpgmza_settings_map_scroll == 'yes');
|
138 |
|
139 |
-
if(this.
|
140 |
options.gestureHandling = "greedy";
|
|
|
|
|
141 |
|
142 |
switch(parseInt(this.map_type))
|
143 |
{
|
15 |
|
16 |
WPGMZA.assertInstanceOf(this, "MapSettings");
|
17 |
|
18 |
+
for(var key in WPGMZA.settings)
|
19 |
+
{
|
20 |
+
var value = WPGMZA.settings[key];
|
21 |
+
|
22 |
+
this[key] = value;
|
23 |
+
}
|
24 |
+
|
25 |
for(var key in json)
|
26 |
{
|
27 |
var value = json[key];
|
143 |
options.disableDoubleClickZoom = !(this.wpgmza_settings_map_clickzoom == 'yes');
|
144 |
options.scrollwheel = !(this.wpgmza_settings_map_scroll == 'yes');
|
145 |
|
146 |
+
if(this.wpgmza_force_greedy_gestures == "greedy")
|
147 |
options.gestureHandling = "greedy";
|
148 |
+
else
|
149 |
+
options.gestureHandling = "cooperative";
|
150 |
|
151 |
switch(parseInt(this.map_type))
|
152 |
{
|
@@ -35,7 +35,7 @@
|
|
35 |
this.polylines = [];
|
36 |
this.circles = [];
|
37 |
|
38 |
-
this.loadSettings();
|
39 |
}
|
40 |
|
41 |
WPGMZA.Map.prototype = Object.create(WPGMZA.EventDispatcher.prototype);
|
@@ -71,14 +71,22 @@
|
|
71 |
* Loads the maps settings and sets some defaults
|
72 |
* @return void
|
73 |
*/
|
74 |
-
WPGMZA.Map.prototype.loadSettings = function()
|
75 |
{
|
76 |
var settings = new WPGMZA.MapSettings(this.element);
|
77 |
var other_settings = settings.other_settings;
|
78 |
|
79 |
delete settings.other_settings;
|
80 |
|
81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
}
|
83 |
|
84 |
/**
|
@@ -431,17 +439,14 @@
|
|
431 |
{
|
432 |
// Native events
|
433 |
this.trigger("boundschanged");
|
434 |
-
$(this.element).trigger("boundschanged.wpgmza");
|
435 |
|
436 |
// Google / legacy compatibility events
|
437 |
this.trigger("bounds_changed");
|
438 |
-
$(this.element).trigger("bounds_changed");
|
439 |
}
|
440 |
|
441 |
WPGMZA.Map.prototype.onIdle = function(event)
|
442 |
{
|
443 |
$(this.element).trigger("idle");
|
444 |
-
$(this.element).trigger("idle.wpgmza");
|
445 |
}
|
446 |
|
447 |
/*$(document).ready(function() {
|
35 |
this.polylines = [];
|
36 |
this.circles = [];
|
37 |
|
38 |
+
this.loadSettings(options);
|
39 |
}
|
40 |
|
41 |
WPGMZA.Map.prototype = Object.create(WPGMZA.EventDispatcher.prototype);
|
71 |
* Loads the maps settings and sets some defaults
|
72 |
* @return void
|
73 |
*/
|
74 |
+
WPGMZA.Map.prototype.loadSettings = function(options)
|
75 |
{
|
76 |
var settings = new WPGMZA.MapSettings(this.element);
|
77 |
var other_settings = settings.other_settings;
|
78 |
|
79 |
delete settings.other_settings;
|
80 |
|
81 |
+
if(other_settings)
|
82 |
+
for(var key in other_settings)
|
83 |
+
settings[key] = other_settings[key];
|
84 |
+
|
85 |
+
if(options)
|
86 |
+
for(var key in options)
|
87 |
+
settings[key] = options[key];
|
88 |
+
|
89 |
+
this.settings = settings;
|
90 |
}
|
91 |
|
92 |
/**
|
439 |
{
|
440 |
// Native events
|
441 |
this.trigger("boundschanged");
|
|
|
442 |
|
443 |
// Google / legacy compatibility events
|
444 |
this.trigger("bounds_changed");
|
|
|
445 |
}
|
446 |
|
447 |
WPGMZA.Map.prototype.onIdle = function(event)
|
448 |
{
|
449 |
$(this.element).trigger("idle");
|
|
|
450 |
}
|
451 |
|
452 |
/*$(document).ready(function() {
|
@@ -239,6 +239,11 @@
|
|
239 |
|
240 |
}
|
241 |
|
|
|
|
|
|
|
|
|
|
|
242 |
WPGMZA.Marker.prototype.panIntoView = function()
|
243 |
{
|
244 |
if(!this.map)
|
239 |
|
240 |
}
|
241 |
|
242 |
+
WPGMZA.Marker.prototype.setOptions = function()
|
243 |
+
{
|
244 |
+
|
245 |
+
}
|
246 |
+
|
247 |
WPGMZA.Marker.prototype.panIntoView = function()
|
248 |
{
|
249 |
if(!this.map)
|
@@ -34,6 +34,9 @@
|
|
34 |
query: address
|
35 |
},
|
36 |
success: function(response, xhr, status) {
|
|
|
|
|
|
|
37 |
callback(response);
|
38 |
}
|
39 |
});
|
@@ -129,8 +132,8 @@
|
|
129 |
lng: parseFloat(response[i].lon)
|
130 |
};
|
131 |
|
132 |
-
// Backward compatibility
|
133 |
-
response[i].lng = response[i].
|
134 |
}
|
135 |
|
136 |
callback(response, status);
|
34 |
query: address
|
35 |
},
|
36 |
success: function(response, xhr, status) {
|
37 |
+
// Legacy compatibility support
|
38 |
+
response.lng = response.lon;
|
39 |
+
|
40 |
callback(response);
|
41 |
}
|
42 |
});
|
132 |
lng: parseFloat(response[i].lon)
|
133 |
};
|
134 |
|
135 |
+
// Backward compatibility
|
136 |
+
response[i].lng = response[i].lon;
|
137 |
}
|
138 |
|
139 |
callback(response, status);
|
@@ -58,7 +58,6 @@
|
|
58 |
$(this.element).show();
|
59 |
|
60 |
this.dispatchEvent("infowindowopen");
|
61 |
-
$(this.element).trigger("infowindowopen.wpgmza");
|
62 |
}
|
63 |
|
64 |
WPGMZA.OLInfoWindow.prototype.close = function(event)
|
58 |
$(this.element).show();
|
59 |
|
60 |
this.dispatchEvent("infowindowopen");
|
|
|
61 |
}
|
62 |
|
63 |
WPGMZA.OLInfoWindow.prototype.close = function(event)
|
@@ -74,8 +74,6 @@
|
|
74 |
self.dispatchEvent("zoom_changed");
|
75 |
self.dispatchEvent("zoomchanged");
|
76 |
self.onIdle();
|
77 |
-
|
78 |
-
$(self.element).trigger("zoomchanged.wpgmza");
|
79 |
});
|
80 |
|
81 |
// Listen for bounds changing
|
@@ -412,8 +410,11 @@
|
|
412 |
var latLng = this.pixelsToLatLng(relX, relY);
|
413 |
|
414 |
this.trigger({type: "rightclick", latLng: latLng});
|
415 |
-
$(this.element).trigger("rightclick.wpgmza");
|
416 |
|
|
|
|
|
|
|
|
|
417 |
event.preventDefault();
|
418 |
return false;
|
419 |
}
|
74 |
self.dispatchEvent("zoom_changed");
|
75 |
self.dispatchEvent("zoomchanged");
|
76 |
self.onIdle();
|
|
|
|
|
77 |
});
|
78 |
|
79 |
// Listen for bounds changing
|
410 |
var latLng = this.pixelsToLatLng(relX, relY);
|
411 |
|
412 |
this.trigger({type: "rightclick", latLng: latLng});
|
|
|
413 |
|
414 |
+
// Legacy event compatibility
|
415 |
+
$(this.element).trigger({type: "rightclick", latLng: latLng});
|
416 |
+
|
417 |
+
// Prevent menu
|
418 |
event.preventDefault();
|
419 |
return false;
|
420 |
}
|
@@ -168,8 +168,7 @@
|
|
168 |
|
169 |
this.setPosition(latLngAfterDrag);
|
170 |
|
171 |
-
this.trigger({type: "dragend", latLng: latLngAfterDrag})
|
172 |
-
$(this.element).trigger("dragend.wpgmza");
|
173 |
}
|
174 |
|
175 |
})(jQuery);
|
168 |
|
169 |
this.setPosition(latLngAfterDrag);
|
170 |
|
171 |
+
this.trigger({type: "dragend", latLng: latLngAfterDrag});
|
|
|
172 |
}
|
173 |
|
174 |
})(jQuery);
|
@@ -172,6 +172,13 @@
|
|
172 |
"wpgmza"
|
173 |
]
|
174 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
"wpgmza-google-circle": {
|
176 |
"src": "js\/v8\/google-maps\/google-circle.js",
|
177 |
"pro": false,
|
172 |
"wpgmza"
|
173 |
]
|
174 |
},
|
175 |
+
"wpgmza-google-ui-compatibility": {
|
176 |
+
"src": "js\/v8\/compatibility\/google-ui-compatibility.js",
|
177 |
+
"pro": false,
|
178 |
+
"dependencies": [
|
179 |
+
"wpgmza"
|
180 |
+
]
|
181 |
+
},
|
182 |
"wpgmza-google-circle": {
|
183 |
"src": "js\/v8\/google-maps\/google-circle.js",
|
184 |
"pro": false,
|
@@ -360,7 +360,7 @@ MYMAP.init = function(selector, latLng, zoom) {
|
|
360 |
var infoWindow;
|
361 |
jQuery(document).ready(function() {
|
362 |
|
363 |
-
if(!window.WPGMZA || !window.WPGMZA.googleAPIStatus || window.WPGMZA.googleAPIStatus != "ENQUEUED")
|
364 |
return;
|
365 |
|
366 |
infoWindow = WPGMZA.InfoWindow.createInstance();
|
@@ -805,10 +805,22 @@ function searchLocations(map_id) {
|
|
805 |
|
806 |
geocoder.geocode(options, function(results, status) {
|
807 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
808 |
if(status == WPGMZA.Geocoder.SUCCESS)
|
|
|
809 |
searchLocationsNear(map_id,results[0].geometry.location);
|
|
|
810 |
else
|
|
|
811 |
alert(address + ' not found');
|
|
|
812 |
|
813 |
});
|
814 |
}
|
@@ -838,6 +850,13 @@ function searchLocationsNear(mapid,center_searched) {
|
|
838 |
marker_sl.setMap(null);
|
839 |
}
|
840 |
MYMAP.placeMarkers(wpgmaps_markerurl+'?u='+UniqueCode,wpgmaps_localize[wpgmaps_mapid].id,radius,center_searched,distance_type);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
841 |
}
|
842 |
|
843 |
function toRad(Value) {
|
360 |
var infoWindow;
|
361 |
jQuery(document).ready(function() {
|
362 |
|
363 |
+
if(!window.WPGMZA || !window.WPGMZA.googleAPIStatus || window.WPGMZA.googleAPIStatus.code != "ENQUEUED")
|
364 |
return;
|
365 |
|
366 |
infoWindow = WPGMZA.InfoWindow.createInstance();
|
805 |
|
806 |
geocoder.geocode(options, function(results, status) {
|
807 |
|
808 |
+
var event = {
|
809 |
+
type: "storelocatorgeocodecomplete",
|
810 |
+
results: results,
|
811 |
+
status: status
|
812 |
+
};
|
813 |
+
|
814 |
+
MYMAP.map.trigger(event);
|
815 |
+
|
816 |
if(status == WPGMZA.Geocoder.SUCCESS)
|
817 |
+
{
|
818 |
searchLocationsNear(map_id,results[0].geometry.location);
|
819 |
+
}
|
820 |
else
|
821 |
+
{
|
822 |
alert(address + ' not found');
|
823 |
+
}
|
824 |
|
825 |
});
|
826 |
}
|
850 |
marker_sl.setMap(null);
|
851 |
}
|
852 |
MYMAP.placeMarkers(wpgmaps_markerurl+'?u='+UniqueCode,wpgmaps_localize[wpgmaps_mapid].id,radius,center_searched,distance_type);
|
853 |
+
|
854 |
+
var event = {
|
855 |
+
type: "storelocatorresult",
|
856 |
+
position: center_searched
|
857 |
+
};
|
858 |
+
|
859 |
+
MYMAP.map.trigger(event);
|
860 |
}
|
861 |
|
862 |
function toRad(Value) {
|
@@ -216,6 +216,24 @@ Please upgrade your version of WP Google Maps to version 6.0.27 as it includes m
|
|
216 |
|
217 |
== Changelog ==
|
218 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
= 7.10.27 :- 2018-08-17 :- Low priority =
|
220 |
* Added wpgmza_xml_cache_generated filter
|
221 |
* Added wpgmza_xml_cache_saved action
|
216 |
|
217 |
== Changelog ==
|
218 |
|
219 |
+
= 7.10.29 :- 2018-08-28 :- Medium priority =
|
220 |
+
* Improved return_polygon_array function making edit polygon page more robust
|
221 |
+
* Improved GoogleAPIErrorHandler, modal dialog with documentation links is now shown back end and front end for administrators
|
222 |
+
* Implemented setOptions for generic marker module and WPGMZA.GoogleMarker module
|
223 |
+
* Added load_textdomain_mofile to fix translation issues
|
224 |
+
* Added event storelocatorgeocodecomplete (native) and storelocatorgeocodecomplete.wpgmza
|
225 |
+
* Added event storelocatorresult (native) and storelocatorresult.wpgmza
|
226 |
+
* Fixed map controls not applied without toggling developer mode
|
227 |
+
* Fixed white border around new Google logo
|
228 |
+
* Fixed Google API handling change blocking infowindow creation
|
229 |
+
* Fixed some global settings not respected (zoom controls, etc.)
|
230 |
+
* Fixed can't change wpgmza_maps_engine in WPGMZA_OTHER_SETTINGS when engine is set
|
231 |
+
* Removed suffixed .wpgmza events being explicitly dispatched, WPGMZA.EventDispatcher now dispatches these automatically
|
232 |
+
|
233 |
+
= 7.10.28 :- 2018-08-20 :- Low priority =
|
234 |
+
* Fixed engine being switched to OpenLayers following saving settings on a fresh install
|
235 |
+
* Added CSS fix for recent Google UI changes for MacOS / iOS + Safari
|
236 |
+
|
237 |
= 7.10.27 :- 2018-08-17 :- Low priority =
|
238 |
* Added wpgmza_xml_cache_generated filter
|
239 |
* Added wpgmza_xml_cache_saved action
|
@@ -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: 7.10.
|
7 |
Author: WP Google Maps
|
8 |
Author URI: https://www.wpgmaps.com
|
9 |
Text Domain: wp-google-maps
|
@@ -11,6 +11,24 @@ Domain Path: /languages
|
|
11 |
*/
|
12 |
|
13 |
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
* 7.10.27 :- 2018-08-17 :- Low priority
|
15 |
* Added wpgmza_xml_cache_generated filter
|
16 |
* Added wpgmza_xml_cache_saved action
|
@@ -3184,8 +3202,7 @@ function wpgmza_settings_page_post()
|
|
3184 |
|
3185 |
if(isset($_POST['wpgmza_maps_engine']))
|
3186 |
$wpgmza_data['wpgmza_maps_engine'] = $_POST['wpgmza_maps_engine'];
|
3187 |
-
|
3188 |
-
|
3189 |
if (isset($_POST['wpgmza_settings_map_open_marker_by'])) { $wpgmza_data['wpgmza_settings_map_open_marker_by'] = sanitize_text_field($_POST['wpgmza_settings_map_open_marker_by']); }
|
3190 |
|
3191 |
if (isset($_POST['wpgmza_api_version'])) { $wpgmza_data['wpgmza_api_version'] = sanitize_text_field($_POST['wpgmza_api_version']); }
|
@@ -4374,7 +4391,6 @@ function wpgmaps_settings_page_basic() {
|
|
4374 |
google_maps_api_key_warning();
|
4375 |
|
4376 |
$wpgmza_settings = array_merge((array)$wpgmza->settings, get_option("WPGMZA_OTHER_SETTINGS"));
|
4377 |
-
$wpgmza_settings['wpgmza_maps_engine'] = $wpgmza_settings['engine'];
|
4378 |
|
4379 |
if (isset($wpgmza_settings['wpgmza_settings_map_full_screen_control'])) { $wpgmza_settings_map_full_screen_control = $wpgmza_settings['wpgmza_settings_map_full_screen_control']; }
|
4380 |
if (isset($wpgmza_settings['wpgmza_settings_map_streetview'])) { $wpgmza_settings_map_streetview = $wpgmza_settings['wpgmza_settings_map_streetview']; }
|
@@ -4564,8 +4580,7 @@ function wpgmaps_settings_page_basic() {
|
|
4564 |
<div data-required-maps-engine='google-maps'>
|
4565 |
<div class='switch'><input name='wpgmza_settings_map_pan' type='checkbox' class='cmn-toggle cmn-toggle-round-flat' id='wpgmza_settings_map_pan' value='yes' $wpgmza_pan_checked />
|
4566 |
<label for='wpgmza_settings_map_pan'></label>
|
4567 |
-
</div>
|
4568 |
-
".__("Disable Pan Controls")."
|
4569 |
</div>
|
4570 |
|
4571 |
";
|
@@ -4648,8 +4663,8 @@ function wpgmaps_settings_page_basic() {
|
|
4648 |
|
4649 |
";
|
4650 |
|
4651 |
-
$use_google_maps_selected
|
4652 |
-
$use_open_street_map_selected
|
4653 |
|
4654 |
$ret .= "
|
4655 |
|
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: 7.10.29
|
7 |
Author: WP Google Maps
|
8 |
Author URI: https://www.wpgmaps.com
|
9 |
Text Domain: wp-google-maps
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
+
* 7.10.29 :- 2018-08-28 :- Medium priority
|
15 |
+
* Improved return_polygon_array function making edit polygon page more robust
|
16 |
+
* Improved GoogleAPIErrorHandler, modal dialog with documentation links is now shown back end and front end for administrators
|
17 |
+
* Implemented setOptions for generic marker module and WPGMZA.GoogleMarker module
|
18 |
+
* Added load_textdomain_mofile to fix translation issues
|
19 |
+
* Added event storelocatorgeocodecomplete (native) and storelocatorgeocodecomplete.wpgmza
|
20 |
+
* Added event storelocatorresult (native) and storelocatorresult.wpgmza
|
21 |
+
* Fixed map controls not applied without toggling developer mode
|
22 |
+
* Fixed white border around new Google logo
|
23 |
+
* Fixed Google API handling change blocking infowindow creation
|
24 |
+
* Fixed some global settings not respected (zoom controls, etc.)
|
25 |
+
* Fixed can't change wpgmza_maps_engine in WPGMZA_OTHER_SETTINGS when engine is set
|
26 |
+
* Removed suffixed .wpgmza events being explicitly dispatched, WPGMZA.EventDispatcher now dispatches these automatically
|
27 |
+
*
|
28 |
+
* 7.10.28 :- 2018-08-20 :- Low priority
|
29 |
+
* Fixed engine being switched to OpenLayers following saving settings on a fresh install
|
30 |
+
* Added CSS fix for recent Google UI changes for MacOS / iOS + Safari
|
31 |
+
*
|
32 |
* 7.10.27 :- 2018-08-17 :- Low priority
|
33 |
* Added wpgmza_xml_cache_generated filter
|
34 |
* Added wpgmza_xml_cache_saved action
|
3202 |
|
3203 |
if(isset($_POST['wpgmza_maps_engine']))
|
3204 |
$wpgmza_data['wpgmza_maps_engine'] = $_POST['wpgmza_maps_engine'];
|
3205 |
+
|
|
|
3206 |
if (isset($_POST['wpgmza_settings_map_open_marker_by'])) { $wpgmza_data['wpgmza_settings_map_open_marker_by'] = sanitize_text_field($_POST['wpgmza_settings_map_open_marker_by']); }
|
3207 |
|
3208 |
if (isset($_POST['wpgmza_api_version'])) { $wpgmza_data['wpgmza_api_version'] = sanitize_text_field($_POST['wpgmza_api_version']); }
|
4391 |
google_maps_api_key_warning();
|
4392 |
|
4393 |
$wpgmza_settings = array_merge((array)$wpgmza->settings, get_option("WPGMZA_OTHER_SETTINGS"));
|
|
|
4394 |
|
4395 |
if (isset($wpgmza_settings['wpgmza_settings_map_full_screen_control'])) { $wpgmza_settings_map_full_screen_control = $wpgmza_settings['wpgmza_settings_map_full_screen_control']; }
|
4396 |
if (isset($wpgmza_settings['wpgmza_settings_map_streetview'])) { $wpgmza_settings_map_streetview = $wpgmza_settings['wpgmza_settings_map_streetview']; }
|
4580 |
<div data-required-maps-engine='google-maps'>
|
4581 |
<div class='switch'><input name='wpgmza_settings_map_pan' type='checkbox' class='cmn-toggle cmn-toggle-round-flat' id='wpgmza_settings_map_pan' value='yes' $wpgmza_pan_checked />
|
4582 |
<label for='wpgmza_settings_map_pan'></label>
|
4583 |
+
</div>".__("Disable Pan Controls")."
|
|
|
4584 |
</div>
|
4585 |
|
4586 |
";
|
4663 |
|
4664 |
";
|
4665 |
|
4666 |
+
$use_google_maps_selected = (empty($wpgmza_settings['wpgmza_maps_engine']) || $wpgmza_settings['wpgmza_maps_engine'] == 'google-maps' ? 'selected="selected"' : "");
|
4667 |
+
$use_open_street_map_selected = (isset($wpgmza_settings['wpgmza_maps_engine']) && $wpgmza_settings['wpgmza_maps_engine'] == 'open-layers' ? 'selected="selected"' : "");
|
4668 |
|
4669 |
$ret .= "
|
4670 |
|