Version Description
- Fixed: Load more button functionality.
- Fixed: On Click option on the marker listing with images.
- Changed: Statement of marker clustering activation.
Download this release
Release Info
| Developer | 10web |
| Plugin | |
| Version | 1.0.68 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.67 to 1.0.68
- admin/views/GMWDView.php +1 -1
- gmwd_admin_class.php +1 -1
- js/admin_main.js +2 -2
- js/maps_gmwd.js +37 -37
- js/simple-slider.js +5 -5
- readme.txt +6 -1
- wd-google-maps.php +1 -1
admin/views/GMWDView.php
CHANGED
|
@@ -23,7 +23,7 @@ class GMWDView {
|
|
| 23 |
?>
|
| 24 |
<script>
|
| 25 |
var _page = "<?php echo (GMWDHelper::get('page') && (GMWDHelper::get('page')!= "markers_gmwd" && GMWDHelper::get('page')!="circles_gmwd" && GMWDHelper::get('page')!="polygons_gmwd" && GMWDHelper::get('page')!="rectangles_gmwd" && GMWDHelper::get('page')!="polylines_gmwd")) ? GMWDHelper::get('page') : "maps_gmwd"; ?>";
|
| 26 |
-
var ajax_url = '<?php echo add_query_arg(
|
| 27 |
var nonce = '<?php echo wp_create_nonce('nonce_gmwd'); ?>';
|
| 28 |
</script>
|
| 29 |
|
| 23 |
?>
|
| 24 |
<script>
|
| 25 |
var _page = "<?php echo (GMWDHelper::get('page') && (GMWDHelper::get('page')!= "markers_gmwd" && GMWDHelper::get('page')!="circles_gmwd" && GMWDHelper::get('page')!="polygons_gmwd" && GMWDHelper::get('page')!="rectangles_gmwd" && GMWDHelper::get('page')!="polylines_gmwd")) ? GMWDHelper::get('page') : "maps_gmwd"; ?>";
|
| 26 |
+
var ajax_url = '<?php echo add_query_arg('nonce_gmwd', wp_create_nonce('nonce_gmwd'), admin_url('admin-ajax.php')); ?>';
|
| 27 |
var nonce = '<?php echo wp_create_nonce('nonce_gmwd'); ?>';
|
| 28 |
</script>
|
| 29 |
|
gmwd_admin_class.php
CHANGED
|
@@ -12,7 +12,7 @@ class GMWDAdmin
|
|
| 12 |
// Variables //
|
| 13 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 14 |
protected static $instance = null;
|
| 15 |
-
private static $version = '1.0.
|
| 16 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 17 |
// Constructor & Destructor //
|
| 18 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 12 |
// Variables //
|
| 13 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 14 |
protected static $instance = null;
|
| 15 |
+
private static $version = '1.0.68';
|
| 16 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 17 |
// Constructor & Destructor //
|
| 18 |
////////////////////////////////////////////////////////////////////////////////////////
|
js/admin_main.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
// Constructor & Destructor //
|
| 12 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 13 |
jQuery(document).ready(function () {
|
| 14 |
-
jQuery("[type=text], [type=number]").keypress
|
| 15 |
event = event || window.event;
|
| 16 |
if(event.keyCode == 13){
|
| 17 |
return false;
|
|
@@ -189,4 +189,4 @@ function fillInputs(){
|
|
| 189 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 190 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 191 |
// Listeners //
|
| 192 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
| 11 |
// Constructor & Destructor //
|
| 12 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 13 |
jQuery(document).ready(function () {
|
| 14 |
+
jQuery("[type=text], [type=number]").on("keypress", function(event){
|
| 15 |
event = event || window.event;
|
| 16 |
if(event.keyCode == 13){
|
| 17 |
return false;
|
| 189 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 190 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 191 |
// Listeners //
|
| 192 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
js/maps_gmwd.js
CHANGED
|
@@ -29,15 +29,15 @@ jQuery( document ).ready(function() {
|
|
| 29 |
initAutocomplete(false,false,"address","center_lat", "center_lng");
|
| 30 |
initSearchBox("gmwd-input-search");
|
| 31 |
|
| 32 |
-
jQuery("#address, #gmwd-input-search").keypress
|
| 33 |
event = event || window.event;
|
| 34 |
if(event.keyCode == 13){
|
| 35 |
getLatLngFromAddress(jQuery(this).val(), "center_lat", "center_lng", gmwdSetMapCenter);
|
| 36 |
return false;
|
| 37 |
}
|
| 38 |
});
|
| 39 |
-
|
| 40 |
-
|
| 41 |
jQuery(".wd-tabs-container>div").hide();
|
| 42 |
jQuery(".wd-tabs li a").removeClass("wd-active-tab");
|
| 43 |
jQuery(jQuery(this).attr("href")).show();
|
|
@@ -68,7 +68,7 @@ jQuery( document ).ready(function() {
|
|
| 68 |
return false;
|
| 69 |
});
|
| 70 |
|
| 71 |
-
jQuery("[name=poi_ids]").click
|
| 72 |
_this = jQuery(this);
|
| 73 |
if(_this.is(":checked")){
|
| 74 |
var allChecked = true;
|
|
@@ -86,11 +86,11 @@ jQuery( document ).ready(function() {
|
|
| 86 |
else{
|
| 87 |
_this.closest(".gmwd_pois").find(".check_all").prop("checked", false);
|
| 88 |
}
|
| 89 |
-
});
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
jQuery(".wd-settings-tabs li a").click
|
| 94 |
jQuery(".wd-settings-tabs-container .wd-settings-container").hide();
|
| 95 |
jQuery(".wd-settings-tabs li a").removeClass("wd-settings-active-tab");
|
| 96 |
jQuery(jQuery(this).attr("href")).show();
|
|
@@ -101,7 +101,7 @@ jQuery( document ).ready(function() {
|
|
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
-
jQuery(".wd-pois-tabs li a:not(.wd-circles-tab, .wd-rectangles-tab)").click
|
| 105 |
jQuery(".wd-pois-tabs-container .wd-pois-container").hide();
|
| 106 |
jQuery(".wd-pois-tabs li a").removeClass("wd-pois-active-tab");
|
| 107 |
jQuery(".wd-pois-tabs li a").removeClass("wd-pois-active-wd-gm-markers-tab");
|
|
@@ -118,30 +118,30 @@ jQuery( document ).ready(function() {
|
|
| 118 |
|
| 119 |
// settings general
|
| 120 |
// map type
|
| 121 |
-
jQuery("#settings-general #type").change
|
| 122 |
mapType = jQuery(this).val();
|
| 123 |
gmwdSetMapTypeId();
|
| 124 |
});
|
| 125 |
|
| 126 |
|
| 127 |
// lat, lng
|
| 128 |
-
jQuery("#center_lat, #center_lng").change
|
| 129 |
getAddressFromLatLng(Number(jQuery("#center_lat").val()), Number(jQuery("#center_lng").val()), "address", gmwdSetMapCenter);
|
| 130 |
|
| 131 |
});
|
| 132 |
|
| 133 |
// map zoom level
|
| 134 |
-
jQuery("#zoom_level").
|
| 135 |
zoom = Number(data.value.toFixed(1));
|
| 136 |
map.setZoom(zoom);
|
| 137 |
});
|
| 138 |
// map min zoom
|
| 139 |
-
jQuery("#min_zoom").
|
| 140 |
minZoom = Number(data.value.toFixed(1));
|
| 141 |
gmwdSetMapOptions();
|
| 142 |
});
|
| 143 |
// map max zoom
|
| 144 |
-
jQuery("max_zoom").
|
| 145 |
maxZoom = Number(data.value.toFixed(1));
|
| 146 |
gmwdSetMapOptions();
|
| 147 |
});
|
|
@@ -153,65 +153,65 @@ jQuery( document ).ready(function() {
|
|
| 153 |
});*/
|
| 154 |
|
| 155 |
// draggable
|
| 156 |
-
jQuery("[name=map_draggable]").change
|
| 157 |
mapDragable = (jQuery(this).val() == 0) ? false : true;
|
| 158 |
gmwdSetMapOptions();
|
| 159 |
});
|
| 160 |
|
| 161 |
// db-click zoom
|
| 162 |
-
jQuery("[name=map_db_click_zoom]").change
|
| 163 |
mapDbClickZoom = (jQuery(this).val() == 0) ? false : true;
|
| 164 |
gmwdSetMapOptions();
|
| 165 |
});
|
| 166 |
// controls
|
| 167 |
|
| 168 |
-
jQuery("[name=enable_zoom_control]").change
|
| 169 |
enableZoomControl = (jQuery(this).val() == 0) ? false : true;
|
| 170 |
gmwdSetMapOptions();
|
| 171 |
});
|
| 172 |
-
jQuery("[name=enable_map_type_control]").change
|
| 173 |
enableMapTypeControl = (jQuery(this).val() == 0) ? false : true;
|
| 174 |
gmwdSetMapOptions();
|
| 175 |
});
|
| 176 |
-
jQuery("[name=enable_scale_control]").change
|
| 177 |
enableScaleControl = (jQuery(this).val() == 0) ? false : true;
|
| 178 |
gmwdSetMapOptions();
|
| 179 |
});
|
| 180 |
-
jQuery("[name=enable_street_view_control]").change
|
| 181 |
enableStreetViewControl = (jQuery(this).val() == 0) ? false : true;
|
| 182 |
gmwdSetMapOptions();
|
| 183 |
});
|
| 184 |
-
jQuery("[name=enable_fullscreen_control]").change
|
| 185 |
enableFullscreenControl = (jQuery(this).val() == 0) ? false : true;
|
| 186 |
gmwdSetMapOptions();
|
| 187 |
});
|
| 188 |
-
jQuery("[name=enable_rotate_control]").change
|
| 189 |
enableRotateControl = (jQuery(this).val() == 0) ? false : true;
|
| 190 |
gmwdSetMapOptions();
|
| 191 |
});
|
| 192 |
|
| 193 |
-
jQuery("#map_type_control_style").change
|
| 194 |
mapTypeControlStyle = Number(jQuery(this).val());
|
| 195 |
gmwdsetControlOption(mapTypeControlPosition, "map_type");
|
| 196 |
|
| 197 |
});
|
| 198 |
|
| 199 |
-
jQuery("#map_type_control_position").change
|
| 200 |
mapTypeControlPosition = Number(jQuery(this).val());
|
| 201 |
gmwdsetControlOption(mapTypeControlPosition, "map_type");
|
| 202 |
});
|
| 203 |
|
| 204 |
-
jQuery("#fullscreen_control_position").change
|
| 205 |
fullscreenControlPosition = Number(jQuery(this).val());
|
| 206 |
gmwdsetControlOption(fullscreenControlPosition, "fullscreen");
|
| 207 |
|
| 208 |
});
|
| 209 |
|
| 210 |
-
jQuery("#zoom_control_position").change
|
| 211 |
zoomControlPosition = Number(jQuery(this).val());
|
| 212 |
gmwdsetControlOption(zoomControlPosition, "zoom");
|
| 213 |
});
|
| 214 |
-
jQuery("#street_view_control_position").change
|
| 215 |
streetViewControlPosition = Number(jQuery(this).val());
|
| 216 |
gmwdsetControlOption(streetViewControlPosition, "street_view");
|
| 217 |
});
|
|
@@ -219,37 +219,37 @@ jQuery( document ).ready(function() {
|
|
| 219 |
|
| 220 |
//layers
|
| 221 |
|
| 222 |
-
jQuery("[name=enable_bicycle_layer]").change
|
| 223 |
enableBykeLayer = jQuery(this).val();
|
| 224 |
gmwdSetLayers("bike");
|
| 225 |
});
|
| 226 |
|
| 227 |
-
jQuery("[name=enable_traffic_layer]").change
|
| 228 |
enableTrafficLayer = jQuery(this).val();
|
| 229 |
gmwdSetLayers("traffic");
|
| 230 |
});
|
| 231 |
|
| 232 |
-
jQuery("[name=enable_transit_layer]").change
|
| 233 |
enableTransitLayer = jQuery(this).val();
|
| 234 |
gmwdSetLayers("transit");
|
| 235 |
});
|
| 236 |
|
| 237 |
-
jQuery("#georss_url").blur
|
| 238 |
geoRSSURL = jQuery(this).val();
|
| 239 |
gmwdSetGeoRSSURL();
|
| 240 |
});
|
| 241 |
|
| 242 |
-
jQuery("#kml_url").blur
|
| 243 |
KMLURL = jQuery(this).val();
|
| 244 |
gmwdSetKMLURL();
|
| 245 |
});
|
| 246 |
-
jQuery("#fusion_table_id").blur
|
| 247 |
fusionTableId = jQuery(this).val();
|
| 248 |
gmwdSetFusionTableId();
|
| 249 |
});
|
| 250 |
|
| 251 |
// geolocate user
|
| 252 |
-
jQuery("[name=geolocate_user]").change
|
| 253 |
if(isHttps == 0){
|
| 254 |
if(jQuery(this).val() == 1){
|
| 255 |
jQuery(".geolocation_msg").show();
|
|
@@ -259,7 +259,7 @@ jQuery( document ).ready(function() {
|
|
| 259 |
}
|
| 260 |
}
|
| 261 |
});
|
| 262 |
-
jQuery(".info_window_info").change
|
| 263 |
var selected = [];
|
| 264 |
jQuery(".info_window_info:checked").each(function(){
|
| 265 |
selected.push(jQuery(this).val());
|
|
@@ -835,4 +835,4 @@ function poiPaginationFilter(e,obj){
|
|
| 835 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 836 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 837 |
// Listeners //
|
| 838 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
| 29 |
initAutocomplete(false,false,"address","center_lat", "center_lng");
|
| 30 |
initSearchBox("gmwd-input-search");
|
| 31 |
|
| 32 |
+
jQuery("#address, #gmwd-input-search").on("keypress", function(event){
|
| 33 |
event = event || window.event;
|
| 34 |
if(event.keyCode == 13){
|
| 35 |
getLatLngFromAddress(jQuery(this).val(), "center_lat", "center_lng", gmwdSetMapCenter);
|
| 36 |
return false;
|
| 37 |
}
|
| 38 |
});
|
| 39 |
+
|
| 40 |
+
jQuery(".wd-tabs li a").on("click", function(){
|
| 41 |
jQuery(".wd-tabs-container>div").hide();
|
| 42 |
jQuery(".wd-tabs li a").removeClass("wd-active-tab");
|
| 43 |
jQuery(jQuery(this).attr("href")).show();
|
| 68 |
return false;
|
| 69 |
});
|
| 70 |
|
| 71 |
+
jQuery("[name=poi_ids]").on("click", function(){
|
| 72 |
_this = jQuery(this);
|
| 73 |
if(_this.is(":checked")){
|
| 74 |
var allChecked = true;
|
| 86 |
else{
|
| 87 |
_this.closest(".gmwd_pois").find(".check_all").prop("checked", false);
|
| 88 |
}
|
| 89 |
+
});
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
jQuery(".wd-settings-tabs li a").on("click", function(){
|
| 94 |
jQuery(".wd-settings-tabs-container .wd-settings-container").hide();
|
| 95 |
jQuery(".wd-settings-tabs li a").removeClass("wd-settings-active-tab");
|
| 96 |
jQuery(jQuery(this).attr("href")).show();
|
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
+
jQuery(".wd-pois-tabs li a:not(.wd-circles-tab, .wd-rectangles-tab)").on("click", function(){
|
| 105 |
jQuery(".wd-pois-tabs-container .wd-pois-container").hide();
|
| 106 |
jQuery(".wd-pois-tabs li a").removeClass("wd-pois-active-tab");
|
| 107 |
jQuery(".wd-pois-tabs li a").removeClass("wd-pois-active-wd-gm-markers-tab");
|
| 118 |
|
| 119 |
// settings general
|
| 120 |
// map type
|
| 121 |
+
jQuery("#settings-general #type").on("change", function(){
|
| 122 |
mapType = jQuery(this).val();
|
| 123 |
gmwdSetMapTypeId();
|
| 124 |
});
|
| 125 |
|
| 126 |
|
| 127 |
// lat, lng
|
| 128 |
+
jQuery("#center_lat, #center_lng").on("change", function(){
|
| 129 |
getAddressFromLatLng(Number(jQuery("#center_lat").val()), Number(jQuery("#center_lng").val()), "address", gmwdSetMapCenter);
|
| 130 |
|
| 131 |
});
|
| 132 |
|
| 133 |
// map zoom level
|
| 134 |
+
jQuery("#zoom_level").on("bind", "slider:ready slider:changed", function (event, data) {
|
| 135 |
zoom = Number(data.value.toFixed(1));
|
| 136 |
map.setZoom(zoom);
|
| 137 |
});
|
| 138 |
// map min zoom
|
| 139 |
+
jQuery("#min_zoom").on("bind", "slider:ready slider:changed", function (event, data) {
|
| 140 |
minZoom = Number(data.value.toFixed(1));
|
| 141 |
gmwdSetMapOptions();
|
| 142 |
});
|
| 143 |
// map max zoom
|
| 144 |
+
jQuery("max_zoom").on("bind", "slider:ready slider:changed", function (event, data) {
|
| 145 |
maxZoom = Number(data.value.toFixed(1));
|
| 146 |
gmwdSetMapOptions();
|
| 147 |
});
|
| 153 |
});*/
|
| 154 |
|
| 155 |
// draggable
|
| 156 |
+
jQuery("[name=map_draggable]").on("change", function(){
|
| 157 |
mapDragable = (jQuery(this).val() == 0) ? false : true;
|
| 158 |
gmwdSetMapOptions();
|
| 159 |
});
|
| 160 |
|
| 161 |
// db-click zoom
|
| 162 |
+
jQuery("[name=map_db_click_zoom]").on("change", function(){
|
| 163 |
mapDbClickZoom = (jQuery(this).val() == 0) ? false : true;
|
| 164 |
gmwdSetMapOptions();
|
| 165 |
});
|
| 166 |
// controls
|
| 167 |
|
| 168 |
+
jQuery("[name=enable_zoom_control]").on("change", function(){
|
| 169 |
enableZoomControl = (jQuery(this).val() == 0) ? false : true;
|
| 170 |
gmwdSetMapOptions();
|
| 171 |
});
|
| 172 |
+
jQuery("[name=enable_map_type_control]").on("change", function(){
|
| 173 |
enableMapTypeControl = (jQuery(this).val() == 0) ? false : true;
|
| 174 |
gmwdSetMapOptions();
|
| 175 |
});
|
| 176 |
+
jQuery("[name=enable_scale_control]").on("change", function(){
|
| 177 |
enableScaleControl = (jQuery(this).val() == 0) ? false : true;
|
| 178 |
gmwdSetMapOptions();
|
| 179 |
});
|
| 180 |
+
jQuery("[name=enable_street_view_control]").on("change", function(){
|
| 181 |
enableStreetViewControl = (jQuery(this).val() == 0) ? false : true;
|
| 182 |
gmwdSetMapOptions();
|
| 183 |
});
|
| 184 |
+
jQuery("[name=enable_fullscreen_control]").on("change", function(){
|
| 185 |
enableFullscreenControl = (jQuery(this).val() == 0) ? false : true;
|
| 186 |
gmwdSetMapOptions();
|
| 187 |
});
|
| 188 |
+
jQuery("[name=enable_rotate_control]").on("change", function(){
|
| 189 |
enableRotateControl = (jQuery(this).val() == 0) ? false : true;
|
| 190 |
gmwdSetMapOptions();
|
| 191 |
});
|
| 192 |
|
| 193 |
+
jQuery("#map_type_control_style").on("change", function(){
|
| 194 |
mapTypeControlStyle = Number(jQuery(this).val());
|
| 195 |
gmwdsetControlOption(mapTypeControlPosition, "map_type");
|
| 196 |
|
| 197 |
});
|
| 198 |
|
| 199 |
+
jQuery("#map_type_control_position").on("change", function(){
|
| 200 |
mapTypeControlPosition = Number(jQuery(this).val());
|
| 201 |
gmwdsetControlOption(mapTypeControlPosition, "map_type");
|
| 202 |
});
|
| 203 |
|
| 204 |
+
jQuery("#fullscreen_control_position").on("change", function(){
|
| 205 |
fullscreenControlPosition = Number(jQuery(this).val());
|
| 206 |
gmwdsetControlOption(fullscreenControlPosition, "fullscreen");
|
| 207 |
|
| 208 |
});
|
| 209 |
|
| 210 |
+
jQuery("#zoom_control_position").on("change", function(){
|
| 211 |
zoomControlPosition = Number(jQuery(this).val());
|
| 212 |
gmwdsetControlOption(zoomControlPosition, "zoom");
|
| 213 |
});
|
| 214 |
+
jQuery("#street_view_control_position").on("change", function(){
|
| 215 |
streetViewControlPosition = Number(jQuery(this).val());
|
| 216 |
gmwdsetControlOption(streetViewControlPosition, "street_view");
|
| 217 |
});
|
| 219 |
|
| 220 |
//layers
|
| 221 |
|
| 222 |
+
jQuery("[name=enable_bicycle_layer]").on("change", function(){
|
| 223 |
enableBykeLayer = jQuery(this).val();
|
| 224 |
gmwdSetLayers("bike");
|
| 225 |
});
|
| 226 |
|
| 227 |
+
jQuery("[name=enable_traffic_layer]").on("change", function(){
|
| 228 |
enableTrafficLayer = jQuery(this).val();
|
| 229 |
gmwdSetLayers("traffic");
|
| 230 |
});
|
| 231 |
|
| 232 |
+
jQuery("[name=enable_transit_layer]").on("change", function(){
|
| 233 |
enableTransitLayer = jQuery(this).val();
|
| 234 |
gmwdSetLayers("transit");
|
| 235 |
});
|
| 236 |
|
| 237 |
+
jQuery("#georss_url").on("blur", function(){
|
| 238 |
geoRSSURL = jQuery(this).val();
|
| 239 |
gmwdSetGeoRSSURL();
|
| 240 |
});
|
| 241 |
|
| 242 |
+
jQuery("#kml_url").on("blur", function(){
|
| 243 |
KMLURL = jQuery(this).val();
|
| 244 |
gmwdSetKMLURL();
|
| 245 |
});
|
| 246 |
+
jQuery("#fusion_table_id").on("blur", function(){
|
| 247 |
fusionTableId = jQuery(this).val();
|
| 248 |
gmwdSetFusionTableId();
|
| 249 |
});
|
| 250 |
|
| 251 |
// geolocate user
|
| 252 |
+
jQuery("[name=geolocate_user]").on("change", function(){
|
| 253 |
if(isHttps == 0){
|
| 254 |
if(jQuery(this).val() == 1){
|
| 255 |
jQuery(".geolocation_msg").show();
|
| 259 |
}
|
| 260 |
}
|
| 261 |
});
|
| 262 |
+
jQuery(".info_window_info").on("change", function(){
|
| 263 |
var selected = [];
|
| 264 |
jQuery(".info_window_info:checked").each(function(){
|
| 265 |
selected.push(jQuery(this).val());
|
| 835 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 836 |
////////////////////////////////////////////////////////////////////////////////////////
|
| 837 |
// Listeners //
|
| 838 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
js/simple-slider.js
CHANGED
|
@@ -64,15 +64,15 @@ var gmwdSlider = function($, window) {
|
|
| 64 |
marginTop: this.dragger.outerHeight() / -2,
|
| 65 |
marginLeft: this.dragger.outerWidth() / -2
|
| 66 |
});
|
| 67 |
-
this.track.mousedown
|
| 68 |
return _this.trackEvent(e);
|
| 69 |
});
|
| 70 |
if (this.settings.highlight) {
|
| 71 |
-
this.highlightTrack.mousedown
|
| 72 |
return _this.trackEvent(e);
|
| 73 |
});
|
| 74 |
}
|
| 75 |
-
this.dragger.mousedown
|
| 76 |
if (e.which !== 1) {
|
| 77 |
return;
|
| 78 |
}
|
|
@@ -81,14 +81,14 @@ var gmwdSlider = function($, window) {
|
|
| 81 |
_this.domDrag(e.pageX, e.pageY);
|
| 82 |
return false;
|
| 83 |
});
|
| 84 |
-
$("body").mousemove
|
| 85 |
if (_this.dragging) {
|
| 86 |
_this.domDrag(e.pageX, e.pageY);
|
| 87 |
return $("body").css({
|
| 88 |
cursor: "pointer"
|
| 89 |
});
|
| 90 |
}
|
| 91 |
-
}).mouseup
|
| 92 |
if (_this.dragging) {
|
| 93 |
_this.dragging = false;
|
| 94 |
_this.dragger.removeClass("dragging");
|
| 64 |
marginTop: this.dragger.outerHeight() / -2,
|
| 65 |
marginLeft: this.dragger.outerWidth() / -2
|
| 66 |
});
|
| 67 |
+
this.track.on("mousedown", function(e) {
|
| 68 |
return _this.trackEvent(e);
|
| 69 |
});
|
| 70 |
if (this.settings.highlight) {
|
| 71 |
+
this.highlightTrack.on("mousedown", function(e) {
|
| 72 |
return _this.trackEvent(e);
|
| 73 |
});
|
| 74 |
}
|
| 75 |
+
this.dragger.on("mousedown", function(e) {
|
| 76 |
if (e.which !== 1) {
|
| 77 |
return;
|
| 78 |
}
|
| 81 |
_this.domDrag(e.pageX, e.pageY);
|
| 82 |
return false;
|
| 83 |
});
|
| 84 |
+
$("body").on("mousemove", function(e) {
|
| 85 |
if (_this.dragging) {
|
| 86 |
_this.domDrag(e.pageX, e.pageY);
|
| 87 |
return $("body").css({
|
| 88 |
cursor: "pointer"
|
| 89 |
});
|
| 90 |
}
|
| 91 |
+
}).on("mouseup", function(e) {
|
| 92 |
if (_this.dragging) {
|
| 93 |
_this.dragging = false;
|
| 94 |
_this.dragger.removeClass("dragging");
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: webdorado,10web,wdsupport
|
|
| 3 |
Tags: google map, google maps, map, map markers, maps, directions, google map plugin, google maps plugin, map plugin, wp google map, wp google maps, google map widget
|
| 4 |
Requires at least: 3.4
|
| 5 |
Tested up to: 5.7
|
| 6 |
-
Stable tag: 1.0.
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
|
@@ -139,6 +139,11 @@ Activate 10Web Google Maps by going to Plugins and pressing Activate button.
|
|
| 139 |
|
| 140 |
== Changelog ==
|
| 141 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
= 1.0.67 =
|
| 143 |
* Fixed: Deprecated functions.
|
| 144 |
|
| 3 |
Tags: google map, google maps, map, map markers, maps, directions, google map plugin, google maps plugin, map plugin, wp google map, wp google maps, google map widget
|
| 4 |
Requires at least: 3.4
|
| 5 |
Tested up to: 5.7
|
| 6 |
+
Stable tag: 1.0.68
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
| 139 |
|
| 140 |
== Changelog ==
|
| 141 |
|
| 142 |
+
= 1.0.68 =
|
| 143 |
+
* Fixed: Load more button functionality.
|
| 144 |
+
* Fixed: On Click option on the marker listing with images.
|
| 145 |
+
* Changed: Statement of marker clustering activation.
|
| 146 |
+
|
| 147 |
= 1.0.67 =
|
| 148 |
* Fixed: Deprecated functions.
|
| 149 |
|
wd-google-maps.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
* Plugin Name: 10Web Google Maps
|
| 5 |
* Plugin URI: https://10web.io/plugins/wordpress-google-maps/
|
| 6 |
* Description: 10Web Google Maps is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for your website.
|
| 7 |
-
* Version: 1.0.
|
| 8 |
* Author: 10Web
|
| 9 |
* Author URI: https://10web.io/plugins
|
| 10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
| 4 |
* Plugin Name: 10Web Google Maps
|
| 5 |
* Plugin URI: https://10web.io/plugins/wordpress-google-maps/
|
| 6 |
* Description: 10Web Google Maps is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for your website.
|
| 7 |
+
* Version: 1.0.68
|
| 8 |
* Author: 10Web
|
| 9 |
* Author URI: https://10web.io/plugins
|
| 10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
