WP Store Locator - Version 2.2.9

Version Description

Download this release

Release Info

Developer tijmensmit
Plugin Icon 128x128 WP Store Locator
Version 2.2.9
Comparing to
See all releases

Code changes from version 2.2.8 to 2.2.9

admin/class-settings.php CHANGED
@@ -174,6 +174,9 @@ if ( !class_exists( 'WPSL_Settings' ) ) {
174
  $output['start_latlng'] = $start_latlng;
175
  }
176
 
 
 
 
177
  // Check if we have a valid map type.
178
  $output['map_type'] = wpsl_valid_map_type( $_POST['wpsl_map']['type'] );
179
  $output['auto_locate'] = isset( $_POST['wpsl_map']['auto_locate'] ) ? 1 : 0;
174
  $output['start_latlng'] = $start_latlng;
175
  }
176
 
177
+ // Do we need to run the fitBounds function make the markers fit in the viewport?
178
+ $output['run_fitbounds'] = isset( $_POST['wpsl_map']['run_fitbounds'] ) ? 1 : 0;
179
+
180
  // Check if we have a valid map type.
181
  $output['map_type'] = wpsl_valid_map_type( $_POST['wpsl_map']['type'] );
182
  $output['auto_locate'] = isset( $_POST['wpsl_map']['auto_locate'] ) ? 1 : 0;
admin/templates/map-settings.php CHANGED
@@ -198,6 +198,10 @@ global $wpdb, $wpsl, $wpsl_admin, $wp_version, $wpsl_settings;
198
  <input type="text" value="<?php echo esc_attr( $wpsl_settings['start_name'] ); ?>" name="wpsl_map[start_name]" class="textinput" id="wpsl-start-name">
199
  <input type="hidden" value="<?php echo esc_attr( $wpsl_settings['start_latlng'] ); ?>" name="wpsl_map[start_latlng]" id="wpsl-latlng" />
200
  </p>
 
 
 
 
201
  <p>
202
  <label for="wpsl-zoom-level"><?php _e( 'Initial zoom level', 'wpsl' ); ?>:</label>
203
  <?php echo $wpsl_admin->settings_page->show_zoom_levels(); ?>
198
  <input type="text" value="<?php echo esc_attr( $wpsl_settings['start_name'] ); ?>" name="wpsl_map[start_name]" class="textinput" id="wpsl-start-name">
199
  <input type="hidden" value="<?php echo esc_attr( $wpsl_settings['start_latlng'] ); ?>" name="wpsl_map[start_latlng]" id="wpsl-latlng" />
200
  </p>
201
+ <p>
202
+ <label for="wpsl-run-fitbounds"><?php _e( 'Auto adjust the zoom level to make sure all markers are visible?', 'wpsl' ); ?><span class="wpsl-info"><span class="wpsl-info-text wpsl-hide"><?php _e( 'This runs after a search is made, and makes sure all the returned locations are visible in the viewport.', 'wpsl' ); ?></span></span></label>
203
+ <input type="checkbox" value="" <?php checked( $wpsl_settings['run_fitbounds'], true ); ?> name="wpsl_map[run_fitbounds]" id="wpsl-run-fitbounds">
204
+ </p>
205
  <p>
206
  <label for="wpsl-zoom-level"><?php _e( 'Initial zoom level', 'wpsl' ); ?>:</label>
207
  <?php echo $wpsl_admin->settings_page->show_zoom_levels(); ?>
admin/upgrade.php CHANGED
@@ -402,6 +402,12 @@ function wpsl_check_upgrade() {
402
  update_option( 'wpsl_settings', $wpsl_settings );
403
  }
404
 
 
 
 
 
 
 
405
  update_option( 'wpsl_version', WPSL_VERSION_NUM );
406
  }
407
 
402
  update_option( 'wpsl_settings', $wpsl_settings );
403
  }
404
 
405
+ if ( version_compare( $current_version, '2.2.9', '<' ) ) {
406
+ $wpsl_settings['run_fitbounds'] = 1;
407
+
408
+ update_option( 'wpsl_settings', $wpsl_settings );
409
+ }
410
+
411
  update_option( 'wpsl_version', WPSL_VERSION_NUM );
412
  }
413
 
frontend/class-frontend.php CHANGED
@@ -58,10 +58,10 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
58
 
59
  add_filter( 'the_content', array( $this, 'cpt_template' ) );
60
 
61
- add_shortcode( 'wpsl', array( $this, 'show_store_locator' ) );
62
- add_shortcode( 'wpsl_address', array( $this, 'show_store_address' ) );
63
- add_shortcode( 'wpsl_hours', array( $this, 'show_opening_hours' ) );
64
- add_shortcode( 'wpsl_map', array( $this, 'show_store_map' ) );
65
  }
66
 
67
  /**
@@ -251,12 +251,12 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
251
 
252
  $sql_sort = 'ORDER BY distance '. $limit;
253
  } else {
254
- array_push( $placeholder_values, $this->check_store_filter( 'radius' ), $this->check_store_filter( 'max_results' ) );
255
  $sql_sort = 'HAVING distance < %d ORDER BY distance LIMIT 0, %d';
256
  }
257
 
258
  $placeholder_values = apply_filters( 'wpsl_sql_placeholder_values', $placeholder_values );
259
-
260
  /*
261
  * The sql that will check which store locations fall within
262
  * the selected radius based on the lat and lng values.
@@ -1079,18 +1079,42 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1079
  * Make sure the filter contains a valid value, otherwise use the default value.
1080
  *
1081
  * @since 2.0.0
 
1082
  * @return string $filter_value The filter value
1083
  */
1084
  public function check_store_filter( $filter ) {
1085
-
1086
- if ( isset( $_GET[$filter] ) && absint( $_GET[$filter] ) ) {
1087
  $filter_value = $_GET[$filter];
1088
  } else {
1089
  $filter_value = $this->get_default_filter_value( $filter );
1090
- }
1091
-
1092
  return $filter_value;
1093
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1094
 
1095
  /**
1096
  * Get the default selected value for a dropdown.
@@ -1099,22 +1123,22 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1099
  * @param string $type The request list type
1100
  * @return string $response The default list value
1101
  */
1102
- public function get_default_filter_value( $type ) {
1103
 
1104
- $settings = get_option( 'wpsl_settings' );
1105
- $list_values = explode( ',', $settings[$type] );
1106
 
1107
- foreach ( $list_values as $k => $list_value ) {
1108
 
1109
- // The default radius has a [] wrapped around it, so we check for that and filter out the [].
1110
- if ( strpos( $list_value, '[' ) !== false ) {
1111
  $response = filter_var( $list_value, FILTER_SANITIZE_NUMBER_INT );
1112
  break;
1113
- }
1114
- }
1115
 
1116
- return $response;
1117
- }
1118
 
1119
  /**
1120
  * Check if we have a opening day that has an value, if not they are all set to closed.
@@ -1610,7 +1634,8 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1610
  'mapTabAnchor' => apply_filters( 'wpsl_map_tab_anchor', 'wpsl-map-tab' ),
1611
  'mapTabAnchorReturn' => apply_filters( 'wpsl_map_tab_anchor_return', false ),
1612
  'gestureHandling' => apply_filters( 'wpsl_gesture_handling', 'auto' ),
1613
- 'directionsTravelMode' => $this->get_directions_travel_mode()
 
1614
  );
1615
 
1616
  $locator_map_settings = array(
@@ -1662,10 +1687,11 @@ if ( !class_exists( 'WPSL_Frontend' ) ) {
1662
 
1663
  // If the marker clusters are enabled, include the js file and marker settings.
1664
  if ( $wpsl_settings['marker_clusters'] ) {
1665
- wp_enqueue_script( 'wpsl-cluster', WPSL_URL . 'js/markerclusterer'. $min .'.js', '', WPSL_VERSION_NUM, true ); //not minified version is in the /js folder
1666
 
1667
- $base_settings['clusterZoom'] = $wpsl_settings['cluster_zoom'];
1668
- $base_settings['clusterSize'] = $wpsl_settings['cluster_size'];
 
1669
  }
1670
 
1671
  // Check if we need to include the infobox script and settings.
58
 
59
  add_filter( 'the_content', array( $this, 'cpt_template' ) );
60
 
61
+ add_shortcode( 'wpsl', array( $this, 'show_store_locator' ) );
62
+ add_shortcode( 'wpsl_address', array( $this, 'show_store_address' ) );
63
+ add_shortcode( 'wpsl_hours', array( $this, 'show_opening_hours' ) );
64
+ add_shortcode( 'wpsl_map', array( $this, 'show_store_map' ) );
65
  }
66
 
67
  /**
251
 
252
  $sql_sort = 'ORDER BY distance '. $limit;
253
  } else {
254
+ array_push( $placeholder_values, $this->check_store_filter( 'search_radius' ), $this->check_store_filter( 'max_results' ) );
255
  $sql_sort = 'HAVING distance < %d ORDER BY distance LIMIT 0, %d';
256
  }
257
 
258
  $placeholder_values = apply_filters( 'wpsl_sql_placeholder_values', $placeholder_values );
259
+
260
  /*
261
  * The sql that will check which store locations fall within
262
  * the selected radius based on the lat and lng values.
1079
  * Make sure the filter contains a valid value, otherwise use the default value.
1080
  *
1081
  * @since 2.0.0
1082
+ * @param string $filter The name of the filter
1083
  * @return string $filter_value The filter value
1084
  */
1085
  public function check_store_filter( $filter ) {
1086
+
1087
+ if ( isset( $_GET[$filter] ) && absint( $_GET[$filter] ) && $this->check_allowed_filter_value( $filter ) ) {
1088
  $filter_value = $_GET[$filter];
1089
  } else {
1090
  $filter_value = $this->get_default_filter_value( $filter );
1091
+ }
1092
+
1093
  return $filter_value;
1094
  }
1095
+
1096
+ /**
1097
+ * Make sure the used filter value isn't bigger
1098
+ * then the value that's set on the settings page.
1099
+ *
1100
+ * @since 2.2.9
1101
+ * @param string $filter The name of the filter
1102
+ * @return bool $allowed True if the value is equal or smaller then the value from the settings page
1103
+ */
1104
+ public function check_allowed_filter_value( $filter ) {
1105
+
1106
+ global $wpsl_settings;
1107
+
1108
+ $allowed = false;
1109
+
1110
+ $max_filter_val = max( explode(',', str_replace( array( '[',']' ), '', $wpsl_settings[$filter] ) ) );
1111
+
1112
+ if ( (int) $_GET[$filter] <= (int) $max_filter_val ) {
1113
+ $allowed = true;
1114
+ }
1115
+
1116
+ return $allowed;
1117
+ }
1118
 
1119
  /**
1120
  * Get the default selected value for a dropdown.
1123
  * @param string $type The request list type
1124
  * @return string $response The default list value
1125
  */
1126
+ public function get_default_filter_value( $type ) {
1127
 
1128
+ $settings = get_option( 'wpsl_settings' );
1129
+ $list_values = explode( ',', $settings[$type] );
1130
 
1131
+ foreach ( $list_values as $k => $list_value ) {
1132
 
1133
+ // The default radius has a [] wrapped around it, so we check for that and filter out the [].
1134
+ if ( strpos( $list_value, '[' ) !== false ) {
1135
  $response = filter_var( $list_value, FILTER_SANITIZE_NUMBER_INT );
1136
  break;
1137
+ }
1138
+ }
1139
 
1140
+ return $response;
1141
+ }
1142
 
1143
  /**
1144
  * Check if we have a opening day that has an value, if not they are all set to closed.
1634
  'mapTabAnchor' => apply_filters( 'wpsl_map_tab_anchor', 'wpsl-map-tab' ),
1635
  'mapTabAnchorReturn' => apply_filters( 'wpsl_map_tab_anchor_return', false ),
1636
  'gestureHandling' => apply_filters( 'wpsl_gesture_handling', 'auto' ),
1637
+ 'directionsTravelMode' => $this->get_directions_travel_mode(),
1638
+ 'runFitBounds' => $wpsl_settings['run_fitbounds']
1639
  );
1640
 
1641
  $locator_map_settings = array(
1687
 
1688
  // If the marker clusters are enabled, include the js file and marker settings.
1689
  if ( $wpsl_settings['marker_clusters'] ) {
1690
+ wp_enqueue_script( 'wpsl-cluster', WPSL_URL . 'js/markerclusterer'. $min .'.js', array( 'wpsl-js' ), WPSL_VERSION_NUM, true ); //not minified version is in the /js folder
1691
 
1692
+ $base_settings['clusterZoom'] = $wpsl_settings['cluster_zoom'];
1693
+ $base_settings['clusterSize'] = $wpsl_settings['cluster_size'];
1694
+ $base_settings['clusterImagePath'] = 'https://cdn.rawgit.com/googlemaps/js-marker-clusterer/gh-pages/images/m';
1695
  }
1696
 
1697
  // Check if we need to include the infobox script and settings.
inc/wpsl-functions.php CHANGED
@@ -79,6 +79,7 @@ function wpsl_get_default_settings() {
79
  'autocomplete' => 0,
80
  'autoload' => 1,
81
  'autoload_limit' => 50,
 
82
  'zoom_level' => 3,
83
  'auto_zoom_level' => 15,
84
  'start_name' => '',
79
  'autocomplete' => 0,
80
  'autoload' => 1,
81
  'autoload_limit' => 50,
82
+ 'run_fitbounds' => 1,
83
  'zoom_level' => 3,
84
  'auto_zoom_level' => 15,
85
  'start_name' => '',
js/markerclusterer.js CHANGED
@@ -184,16 +184,13 @@ function MarkerClusterer(map, opt_markers, opt_options) {
184
  }
185
  }
186
 
187
-
188
  /**
189
  * The marker cluster image path.
190
  *
191
  * @type {string}
192
  * @private
193
  */
194
- MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_PATH_ =
195
- 'https://cdn.rawgit.com/googlemaps/js-marker-clusterer/gh-pages/images/m';
196
-
197
 
198
  /**
199
  * The marker cluster image path.
@@ -203,7 +200,6 @@ MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_PATH_ =
203
  */
204
  MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_EXTENSION_ = 'png';
205
 
206
-
207
  /**
208
  * Extends a objects prototype by anothers.
209
  *
@@ -221,7 +217,6 @@ MarkerClusterer.prototype.extend = function(obj1, obj2) {
221
  }).apply(obj1, [obj2]);
222
  };
223
 
224
-
225
  /**
226
  * Implementaion of the interface method.
227
  * @ignore
184
  }
185
  }
186
 
 
187
  /**
188
  * The marker cluster image path.
189
  *
190
  * @type {string}
191
  * @private
192
  */
193
+ MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_PATH_ = wpslSettings.clusterImagePath;
 
 
194
 
195
  /**
196
  * The marker cluster image path.
200
  */
201
  MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_EXTENSION_ = 'png';
202
 
 
203
  /**
204
  * Extends a objects prototype by anothers.
205
  *
217
  }).apply(obj1, [obj2]);
218
  };
219
 
 
220
  /**
221
  * Implementaion of the interface method.
222
  * @ignore
js/markerclusterer.min.js CHANGED
@@ -1,21 +1 @@
1
- function d(a){return function(b){this[a]=b}}function f(a){return function(){return this[a]}}var k;
2
- function l(a,b,c){this.extend(l,google.maps.OverlayView);this.b=a;this.a=[];this.f=[];this.da=[53,56,66,78,90];this.j=[];this.A=!1;c=c||{};this.g=c.gridSize||60;this.l=c.minimumClusterSize||2;this.K=c.maxZoom||null;this.j=c.styles||[];this.Y=c.imagePath||this.R;this.X=c.imageExtension||this.Q;this.P=!0;void 0!=c.zoomOnClick&&(this.P=c.zoomOnClick);this.r=!1;void 0!=c.averageCenter&&(this.r=c.averageCenter);m(this);this.setMap(a);this.L=this.b.getZoom();var e=this;google.maps.event.addListener(this.b,
3
- "zoom_changed",function(){var a=e.b.getZoom(),b=e.b.minZoom||0,c=Math.min(e.b.maxZoom||100,e.b.mapTypes[e.b.getMapTypeId()].maxZoom),a=Math.min(Math.max(a,b),c);e.L!=a&&(e.L=a,e.m())});google.maps.event.addListener(this.b,"idle",function(){e.i()});b&&(b.length||Object.keys(b).length)&&this.C(b,!1)}k=l.prototype;k.R="https://cdn.rawgit.com/googlemaps/js-marker-clusterer/gh-pages/images/m";k.Q="png";
4
- k.extend=function(a,b){return function(a){for(var b in a.prototype)this.prototype[b]=a.prototype[b];return this}.apply(a,[b])};k.onAdd=function(){this.A||(this.A=!0,p(this))};k.draw=function(){};function m(a){if(!a.j.length)for(var b=0,c;c=a.da[b];b++)a.j.push({url:a.Y+(b+1)+"."+a.X,height:c,width:c})}k.T=function(){for(var a=this.o(),b=new google.maps.LatLngBounds,c=0,e;e=a[c];c++)b.extend(e.getPosition());this.b.fitBounds(b)};k.w=f("j");k.o=f("a");k.W=function(){return this.a.length};k.ca=d("K");
5
- k.J=f("K");k.G=function(a,b){for(var c=0,e=a.length,g=e;0!==g;)g=parseInt(g/10,10),c++;c=Math.min(c,b);return{text:e,index:c}};k.aa=d("G");k.H=f("G");k.C=function(a,b){if(a.length)for(var c=0,e;e=a[c];c++)s(this,e);else if(Object.keys(a).length)for(e in a)s(this,a[e]);b||this.i()};function s(a,b){b.s=!1;b.draggable&&google.maps.event.addListener(b,"dragend",function(){b.s=!1;a.M()});a.a.push(b)}k.q=function(a,b){s(this,a);b||this.i()};
6
- function t(a,b){var c=-1;if(a.a.indexOf)c=a.a.indexOf(b);else for(var e=0,g;g=a.a[e];e++)if(g==b){c=e;break}if(-1==c)return!1;b.setMap(null);a.a.splice(c,1);return!0}k.Z=function(a,b){var c=t(this,a);return!b&&c?(this.m(),this.i(),!0):!1};k.$=function(a,b){for(var c=!1,e=0,g;g=a[e];e++)g=t(this,g),c=c||g;if(!b&&c)return this.m(),this.i(),!0};k.V=function(){return this.f.length};k.getMap=f("b");k.setMap=d("b");k.I=f("g");k.ba=d("g");
7
- k.v=function(a){var b=this.getProjection(),c=new google.maps.LatLng(a.getNorthEast().lat(),a.getNorthEast().lng()),e=new google.maps.LatLng(a.getSouthWest().lat(),a.getSouthWest().lng()),c=b.fromLatLngToDivPixel(c);c.x+=this.g;c.y-=this.g;e=b.fromLatLngToDivPixel(e);e.x-=this.g;e.y+=this.g;c=b.fromDivPixelToLatLng(c);b=b.fromDivPixelToLatLng(e);a.extend(c);a.extend(b);return a};k.S=function(){this.m(!0);this.a=[]};
8
- k.m=function(a){for(var b=0,c;c=this.f[b];b++)c.remove();for(b=0;c=this.a[b];b++)c.s=!1,a&&c.setMap(null);this.f=[]};k.M=function(){var a=this.f.slice();this.f.length=0;this.m();this.i();window.setTimeout(function(){for(var b=0,c;c=a[b];b++)c.remove()},0)};k.i=function(){p(this)};
9
- function p(a){if(a.A)for(var b=new google.maps.LatLngBounds(a.b.getBounds().getSouthWest(),a.b.getBounds().getNorthEast()),b=a.v(b),c=0,e;e=a.a[c];c++)if(!e.s&&b.contains(e.getPosition())){for(var g=a,u=4E4,q=null,x=0,n=void 0;n=g.f[x];x++){var h=n.getCenter();if(h){var r=e.getPosition();if(h&&r)var y=(r.lat()-h.lat())*Math.PI/180,z=(r.lng()-h.lng())*Math.PI/180,h=Math.sin(y/2)*Math.sin(y/2)+Math.cos(h.lat()*Math.PI/180)*Math.cos(r.lat()*Math.PI/180)*Math.sin(z/2)*Math.sin(z/2),h=12742*Math.atan2(Math.sqrt(h),
10
- Math.sqrt(1-h));else h=0;h<u&&(u=h,q=n)}}q&&q.F.contains(e.getPosition())?q.q(e):(n=new v(g),n.q(e),g.f.push(n))}}function v(a){this.k=a;this.b=a.getMap();this.g=a.I();this.l=a.l;this.r=a.r;this.d=null;this.a=[];this.F=null;this.n=new w(this,a.w())}k=v.prototype;
11
- k.q=function(a){var b;a:if(this.a.indexOf)b=-1!=this.a.indexOf(a);else{b=0;for(var c;c=this.a[b];b++)if(c==a){b=!0;break a}b=!1}if(b)return!1;this.d?this.r&&(c=this.a.length+1,b=(this.d.lat()*(c-1)+a.getPosition().lat())/c,c=(this.d.lng()*(c-1)+a.getPosition().lng())/c,this.d=new google.maps.LatLng(b,c),A(this)):(this.d=a.getPosition(),A(this));a.s=!0;this.a.push(a);b=this.a.length;b<this.l&&a.getMap()!=this.b&&a.setMap(this.b);if(b==this.l)for(c=0;c<b;c++)this.a[c].setMap(null);b>=this.l&&a.setMap(null);
12
- a=this.b.getZoom();if((b=this.k.J())&&a>b)for(a=0;b=this.a[a];a++)b.setMap(this.b);else this.a.length<this.l?B(this.n):(b=this.k.H()(this.a,this.k.w().length),this.n.setCenter(this.d),a=this.n,a.B=b,a.c&&(a.c.innerHTML=b.text),b=Math.max(0,a.B.index-1),b=Math.min(a.j.length-1,b),b=a.j[b],a.ea=b.url,a.h=b.height,a.p=b.width,a.N=b.textColor,a.e=b.anchor,a.O=b.textSize,a.D=b.backgroundPosition,this.n.show());return!0};
13
- k.getBounds=function(){for(var a=new google.maps.LatLngBounds(this.d,this.d),b=this.o(),c=0,e;e=b[c];c++)a.extend(e.getPosition());return a};k.remove=function(){this.n.remove();this.a.length=0;delete this.a};k.U=function(){return this.a.length};k.o=f("a");k.getCenter=f("d");function A(a){var b=new google.maps.LatLngBounds(a.d,a.d);a.F=a.k.v(b)}k.getMap=f("b");
14
- function w(a,b){a.k.extend(w,google.maps.OverlayView);this.j=b;this.u=a;this.d=null;this.b=a.getMap();this.B=this.c=null;this.t=!1;this.setMap(this.b)}k=w.prototype;
15
- k.onAdd=function(){this.c=document.createElement("DIV");if(this.t){var a=C(this,this.d);this.c.style.cssText=D(this,a);this.c.innerHTML=this.B.text}this.getPanes().overlayMouseTarget.appendChild(this.c);var b=this;google.maps.event.addDomListener(this.c,"click",function(){var a=b.u.k;google.maps.event.trigger(a,"clusterclick",b.u);a.P&&b.b.fitBounds(b.u.getBounds())})};function C(a,b){var c=a.getProjection().fromLatLngToDivPixel(b);c.x-=parseInt(a.p/2,10);c.y-=parseInt(a.h/2,10);return c}
16
- k.draw=function(){if(this.t){var a=C(this,this.d);this.c.style.top=a.y+"px";this.c.style.left=a.x+"px"}};function B(a){a.c&&(a.c.style.display="none");a.t=!1}k.show=function(){if(this.c){var a=C(this,this.d);this.c.style.cssText=D(this,a);this.c.style.display=""}this.t=!0};k.remove=function(){this.setMap(null)};k.onRemove=function(){this.c&&this.c.parentNode&&(B(this),this.c.parentNode.removeChild(this.c),this.c=null)};k.setCenter=d("d");
17
- function D(a,b){var c=[];c.push("background-image:url("+a.ea+");");c.push("background-position:"+(a.D?a.D:"0 0")+";");"object"===typeof a.e?("number"===typeof a.e[0]&&0<a.e[0]&&a.e[0]<a.h?c.push("height:"+(a.h-a.e[0])+"px; padding-top:"+a.e[0]+"px;"):c.push("height:"+a.h+"px; line-height:"+a.h+"px;"),"number"===typeof a.e[1]&&0<a.e[1]&&a.e[1]<a.p?c.push("width:"+(a.p-a.e[1])+"px; padding-left:"+a.e[1]+"px;"):c.push("width:"+a.p+"px; text-align:center;")):c.push("height:"+a.h+"px; line-height:"+a.h+
18
- "px; width:"+a.p+"px; text-align:center;");c.push("cursor:pointer; top:"+b.y+"px; left:"+b.x+"px; color:"+(a.N?a.N:"black")+"; position:absolute; font-size:"+(a.O?a.O:11)+"px; font-family:Arial,sans-serif; font-weight:bold");return c.join("")}window.MarkerClusterer=l;l.prototype.addMarker=l.prototype.q;l.prototype.addMarkers=l.prototype.C;l.prototype.clearMarkers=l.prototype.S;l.prototype.fitMapToMarkers=l.prototype.T;l.prototype.getCalculator=l.prototype.H;l.prototype.getGridSize=l.prototype.I;
19
- l.prototype.getExtendedBounds=l.prototype.v;l.prototype.getMap=l.prototype.getMap;l.prototype.getMarkers=l.prototype.o;l.prototype.getMaxZoom=l.prototype.J;l.prototype.getStyles=l.prototype.w;l.prototype.getTotalClusters=l.prototype.V;l.prototype.getTotalMarkers=l.prototype.W;l.prototype.redraw=l.prototype.i;l.prototype.removeMarker=l.prototype.Z;l.prototype.removeMarkers=l.prototype.$;l.prototype.resetViewport=l.prototype.m;l.prototype.repaint=l.prototype.M;l.prototype.setCalculator=l.prototype.aa;
20
- l.prototype.setGridSize=l.prototype.ba;l.prototype.setMaxZoom=l.prototype.ca;l.prototype.onAdd=l.prototype.onAdd;l.prototype.draw=l.prototype.draw;v.prototype.getCenter=v.prototype.getCenter;v.prototype.getSize=v.prototype.U;v.prototype.getMarkers=v.prototype.o;w.prototype.onAdd=w.prototype.onAdd;w.prototype.draw=w.prototype.draw;w.prototype.onRemove=w.prototype.onRemove;Object.keys=Object.keys||function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push(c);return b};
21
-
1
+ function MarkerClusterer(t,e,r){this.extend(MarkerClusterer,google.maps.OverlayView),this.map_=t,this.markers_=[],this.clusters_=[],this.sizes=[53,56,66,78,90],this.styles_=[],this.ready_=!1;var s=r||{};this.gridSize_=s.gridSize||60,this.minClusterSize_=s.minimumClusterSize||2,this.maxZoom_=s.maxZoom||null,this.styles_=s.styles||[],this.imagePath_=s.imagePath||this.MARKER_CLUSTER_IMAGE_PATH_,this.imageExtension_=s.imageExtension||this.MARKER_CLUSTER_IMAGE_EXTENSION_,this.zoomOnClick_=!0,void 0!=s.zoomOnClick&&(this.zoomOnClick_=s.zoomOnClick),this.averageCenter_=!1,void 0!=s.averageCenter&&(this.averageCenter_=s.averageCenter),this.setupStyles_(),this.setMap(t),this.prevZoom_=this.map_.getZoom();var o=this;google.maps.event.addListener(this.map_,"zoom_changed",function(){var t=o.map_.getZoom(),e=o.map_.minZoom||0,r=Math.min(o.map_.maxZoom||100,o.map_.mapTypes[o.map_.getMapTypeId()].maxZoom);t=Math.min(Math.max(t,e),r),o.prevZoom_!=t&&(o.prevZoom_=t,o.resetViewport())}),google.maps.event.addListener(this.map_,"idle",function(){o.redraw()}),e&&(e.length||Object.keys(e).length)&&this.addMarkers(e,!1)}function Cluster(t){this.markerClusterer_=t,this.map_=t.getMap(),this.gridSize_=t.getGridSize(),this.minClusterSize_=t.getMinClusterSize(),this.averageCenter_=t.isAverageCenter(),this.center_=null,this.markers_=[],this.bounds_=null,this.clusterIcon_=new ClusterIcon(this,t.getStyles(),t.getGridSize())}function ClusterIcon(t,e,r){t.getMarkerClusterer().extend(ClusterIcon,google.maps.OverlayView),this.styles_=e,this.padding_=r||0,this.cluster_=t,this.center_=null,this.map_=t.getMap(),this.div_=null,this.sums_=null,this.visible_=!1,this.setMap(this.map_)}MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_PATH_=wpslSettings.clusterImagePath,MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_EXTENSION_="png",MarkerClusterer.prototype.extend=function(t,e){return function(t){for(var e in t.prototype)this.prototype[e]=t.prototype[e];return this}.apply(t,[e])},MarkerClusterer.prototype.onAdd=function(){this.setReady_(!0)},MarkerClusterer.prototype.draw=function(){},MarkerClusterer.prototype.setupStyles_=function(){if(!this.styles_.length)for(var t,e=0;t=this.sizes[e];e++)this.styles_.push({url:this.imagePath_+(e+1)+"."+this.imageExtension_,height:t,width:t})},MarkerClusterer.prototype.fitMapToMarkers=function(){for(var t,e=this.getMarkers(),r=new google.maps.LatLngBounds,s=0;t=e[s];s++)r.extend(t.getPosition());this.map_.fitBounds(r)},MarkerClusterer.prototype.setStyles=function(t){this.styles_=t},MarkerClusterer.prototype.getStyles=function(){return this.styles_},MarkerClusterer.prototype.isZoomOnClick=function(){return this.zoomOnClick_},MarkerClusterer.prototype.isAverageCenter=function(){return this.averageCenter_},MarkerClusterer.prototype.getMarkers=function(){return this.markers_},MarkerClusterer.prototype.getTotalMarkers=function(){return this.markers_.length},MarkerClusterer.prototype.setMaxZoom=function(t){this.maxZoom_=t},MarkerClusterer.prototype.getMaxZoom=function(){return this.maxZoom_},MarkerClusterer.prototype.calculator_=function(t,e){for(var r=0,s=t.length,o=s;0!==o;)o=parseInt(o/10,10),r++;return r=Math.min(r,e),{text:s,index:r}},MarkerClusterer.prototype.setCalculator=function(t){this.calculator_=t},MarkerClusterer.prototype.getCalculator=function(){return this.calculator_},MarkerClusterer.prototype.addMarkers=function(t,e){if(t.length)for(var r,s=0;r=t[s];s++)this.pushMarkerTo_(r);else if(Object.keys(t).length)for(var r in t)this.pushMarkerTo_(t[r]);e||this.redraw()},MarkerClusterer.prototype.pushMarkerTo_=function(t){if(t.isAdded=!1,t.draggable){var e=this;google.maps.event.addListener(t,"dragend",function(){t.isAdded=!1,e.repaint()})}this.markers_.push(t)},MarkerClusterer.prototype.addMarker=function(t,e){this.pushMarkerTo_(t),e||this.redraw()},MarkerClusterer.prototype.removeMarker_=function(t){var e=-1;if(this.markers_.indexOf)e=this.markers_.indexOf(t);else for(var r,s=0;r=this.markers_[s];s++)if(r==t){e=s;break}return-1==e?!1:(t.setMap(null),this.markers_.splice(e,1),!0)},MarkerClusterer.prototype.removeMarker=function(t,e){var r=this.removeMarker_(t);return!e&&r?(this.resetViewport(),this.redraw(),!0):!1},MarkerClusterer.prototype.removeMarkers=function(t,e){for(var r,s=!1,o=0;r=t[o];o++){var i=this.removeMarker_(r);s=s||i}return!e&&s?(this.resetViewport(),this.redraw(),!0):void 0},MarkerClusterer.prototype.setReady_=function(t){this.ready_||(this.ready_=t,this.createClusters_())},MarkerClusterer.prototype.getTotalClusters=function(){return this.clusters_.length},MarkerClusterer.prototype.getMap=function(){return this.map_},MarkerClusterer.prototype.setMap=function(t){this.map_=t},MarkerClusterer.prototype.getGridSize=function(){return this.gridSize_},MarkerClusterer.prototype.setGridSize=function(t){this.gridSize_=t},MarkerClusterer.prototype.getMinClusterSize=function(){return this.minClusterSize_},MarkerClusterer.prototype.setMinClusterSize=function(t){this.minClusterSize_=t},MarkerClusterer.prototype.getExtendedBounds=function(t){var e=this.getProjection(),r=new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()),s=new google.maps.LatLng(t.getSouthWest().lat(),t.getSouthWest().lng()),o=e.fromLatLngToDivPixel(r);o.x+=this.gridSize_,o.y-=this.gridSize_;var i=e.fromLatLngToDivPixel(s);i.x-=this.gridSize_,i.y+=this.gridSize_;var a=e.fromDivPixelToLatLng(o),n=e.fromDivPixelToLatLng(i);return t.extend(a),t.extend(n),t},MarkerClusterer.prototype.isMarkerInBounds_=function(t,e){return e.contains(t.getPosition())},MarkerClusterer.prototype.clearMarkers=function(){this.resetViewport(!0),this.markers_=[]},MarkerClusterer.prototype.resetViewport=function(t){for(var e,r=0;e=this.clusters_[r];r++)e.remove();for(var s,r=0;s=this.markers_[r];r++)s.isAdded=!1,t&&s.setMap(null);this.clusters_=[]},MarkerClusterer.prototype.repaint=function(){var t=this.clusters_.slice();this.clusters_.length=0,this.resetViewport(),this.redraw(),window.setTimeout(function(){for(var e,r=0;e=t[r];r++)e.remove()},0)},MarkerClusterer.prototype.redraw=function(){this.createClusters_()},MarkerClusterer.prototype.distanceBetweenPoints_=function(t,e){if(!t||!e)return 0;var r=6371,s=(e.lat()-t.lat())*Math.PI/180,o=(e.lng()-t.lng())*Math.PI/180,i=Math.sin(s/2)*Math.sin(s/2)+Math.cos(t.lat()*Math.PI/180)*Math.cos(e.lat()*Math.PI/180)*Math.sin(o/2)*Math.sin(o/2),a=2*Math.atan2(Math.sqrt(i),Math.sqrt(1-i)),n=r*a;return n},MarkerClusterer.prototype.addToClosestCluster_=function(t){for(var e,r=4e4,s=null,o=(t.getPosition(),0);e=this.clusters_[o];o++){var i=e.getCenter();if(i){var a=this.distanceBetweenPoints_(i,t.getPosition());r>a&&(r=a,s=e)}}if(s&&s.isMarkerInClusterBounds(t))s.addMarker(t);else{var e=new Cluster(this);e.addMarker(t),this.clusters_.push(e)}},MarkerClusterer.prototype.createClusters_=function(){if(this.ready_)for(var t,e=new google.maps.LatLngBounds(this.map_.getBounds().getSouthWest(),this.map_.getBounds().getNorthEast()),r=this.getExtendedBounds(e),s=0;t=this.markers_[s];s++)!t.isAdded&&this.isMarkerInBounds_(t,r)&&this.addToClosestCluster_(t)},Cluster.prototype.isMarkerAlreadyAdded=function(t){if(this.markers_.indexOf)return-1!=this.markers_.indexOf(t);for(var e,r=0;e=this.markers_[r];r++)if(e==t)return!0;return!1},Cluster.prototype.addMarker=function(t){if(this.isMarkerAlreadyAdded(t))return!1;if(this.center_){if(this.averageCenter_){var e=this.markers_.length+1,r=(this.center_.lat()*(e-1)+t.getPosition().lat())/e,s=(this.center_.lng()*(e-1)+t.getPosition().lng())/e;this.center_=new google.maps.LatLng(r,s),this.calculateBounds_()}}else this.center_=t.getPosition(),this.calculateBounds_();t.isAdded=!0,this.markers_.push(t);var o=this.markers_.length;if(o<this.minClusterSize_&&t.getMap()!=this.map_&&t.setMap(this.map_),o==this.minClusterSize_)for(var i=0;o>i;i++)this.markers_[i].setMap(null);return o>=this.minClusterSize_&&t.setMap(null),this.updateIcon(),!0},Cluster.prototype.getMarkerClusterer=function(){return this.markerClusterer_},Cluster.prototype.getBounds=function(){for(var t,e=new google.maps.LatLngBounds(this.center_,this.center_),r=this.getMarkers(),s=0;t=r[s];s++)e.extend(t.getPosition());return e},Cluster.prototype.remove=function(){this.clusterIcon_.remove(),this.markers_.length=0,delete this.markers_},Cluster.prototype.getSize=function(){return this.markers_.length},Cluster.prototype.getMarkers=function(){return this.markers_},Cluster.prototype.getCenter=function(){return this.center_},Cluster.prototype.calculateBounds_=function(){var t=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(t)},Cluster.prototype.isMarkerInClusterBounds=function(t){return this.bounds_.contains(t.getPosition())},Cluster.prototype.getMap=function(){return this.map_},Cluster.prototype.updateIcon=function(){var t=this.map_.getZoom(),e=this.markerClusterer_.getMaxZoom();if(e&&t>e)for(var r,s=0;r=this.markers_[s];s++)r.setMap(this.map_);else{if(this.markers_.length<this.minClusterSize_)return void this.clusterIcon_.hide();var o=this.markerClusterer_.getStyles().length,i=this.markerClusterer_.getCalculator()(this.markers_,o);this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.setSums(i),this.clusterIcon_.show()}},ClusterIcon.prototype.triggerClusterClick=function(){var t=this.cluster_.getMarkerClusterer();google.maps.event.trigger(t,"clusterclick",this.cluster_),t.isZoomOnClick()&&this.map_.fitBounds(this.cluster_.getBounds())},ClusterIcon.prototype.onAdd=function(){if(this.div_=document.createElement("DIV"),this.visible_){var t=this.getPosFromLatLng_(this.center_);this.div_.style.cssText=this.createCss(t),this.div_.innerHTML=this.sums_.text}var e=this.getPanes();e.overlayMouseTarget.appendChild(this.div_);var r=this;google.maps.event.addDomListener(this.div_,"click",function(){r.triggerClusterClick()})},ClusterIcon.prototype.getPosFromLatLng_=function(t){var e=this.getProjection().fromLatLngToDivPixel(t);return e.x-=parseInt(this.width_/2,10),e.y-=parseInt(this.height_/2,10),e},ClusterIcon.prototype.draw=function(){if(this.visible_){var t=this.getPosFromLatLng_(this.center_);this.div_.style.top=t.y+"px",this.div_.style.left=t.x+"px"}},ClusterIcon.prototype.hide=function(){this.div_&&(this.div_.style.display="none"),this.visible_=!1},ClusterIcon.prototype.show=function(){if(this.div_){var t=this.getPosFromLatLng_(this.center_);this.div_.style.cssText=this.createCss(t),this.div_.style.display=""}this.visible_=!0},ClusterIcon.prototype.remove=function(){this.setMap(null)},ClusterIcon.prototype.onRemove=function(){this.div_&&this.div_.parentNode&&(this.hide(),this.div_.parentNode.removeChild(this.div_),this.div_=null)},ClusterIcon.prototype.setSums=function(t){this.sums_=t,this.text_=t.text,this.index_=t.index,this.div_&&(this.div_.innerHTML=t.text),this.useStyle()},ClusterIcon.prototype.useStyle=function(){var t=Math.max(0,this.sums_.index-1);t=Math.min(this.styles_.length-1,t);var e=this.styles_[t];this.url_=e.url,this.height_=e.height,this.width_=e.width,this.textColor_=e.textColor,this.anchor_=e.anchor,this.textSize_=e.textSize,this.backgroundPosition_=e.backgroundPosition},ClusterIcon.prototype.setCenter=function(t){this.center_=t},ClusterIcon.prototype.createCss=function(t){var e=[];e.push("background-image:url("+this.url_+");");var r=this.backgroundPosition_?this.backgroundPosition_:"0 0";e.push("background-position:"+r+";"),"object"==typeof this.anchor_?("number"==typeof this.anchor_[0]&&this.anchor_[0]>0&&this.anchor_[0]<this.height_?e.push("height:"+(this.height_-this.anchor_[0])+"px; padding-top:"+this.anchor_[0]+"px;"):e.push("height:"+this.height_+"px; line-height:"+this.height_+"px;"),"number"==typeof this.anchor_[1]&&this.anchor_[1]>0&&this.anchor_[1]<this.width_?e.push("width:"+(this.width_-this.anchor_[1])+"px; padding-left:"+this.anchor_[1]+"px;"):e.push("width:"+this.width_+"px; text-align:center;")):e.push("height:"+this.height_+"px; line-height:"+this.height_+"px; width:"+this.width_+"px; text-align:center;");var s=this.textColor_?this.textColor_:"black",o=this.textSize_?this.textSize_:11;return e.push("cursor:pointer; top:"+t.y+"px; left:"+t.x+"px; color:"+s+"; position:absolute; font-size:"+o+"px; font-family:Arial,sans-serif; font-weight:bold"),e.join("")},window.MarkerClusterer=MarkerClusterer,MarkerClusterer.prototype.addMarker=MarkerClusterer.prototype.addMarker,MarkerClusterer.prototype.addMarkers=MarkerClusterer.prototype.addMarkers,MarkerClusterer.prototype.clearMarkers=MarkerClusterer.prototype.clearMarkers,MarkerClusterer.prototype.fitMapToMarkers=MarkerClusterer.prototype.fitMapToMarkers,MarkerClusterer.prototype.getCalculator=MarkerClusterer.prototype.getCalculator,MarkerClusterer.prototype.getGridSize=MarkerClusterer.prototype.getGridSize,MarkerClusterer.prototype.getExtendedBounds=MarkerClusterer.prototype.getExtendedBounds,MarkerClusterer.prototype.getMap=MarkerClusterer.prototype.getMap,MarkerClusterer.prototype.getMarkers=MarkerClusterer.prototype.getMarkers,MarkerClusterer.prototype.getMaxZoom=MarkerClusterer.prototype.getMaxZoom,MarkerClusterer.prototype.getStyles=MarkerClusterer.prototype.getStyles,MarkerClusterer.prototype.getTotalClusters=MarkerClusterer.prototype.getTotalClusters,MarkerClusterer.prototype.getTotalMarkers=MarkerClusterer.prototype.getTotalMarkers,MarkerClusterer.prototype.redraw=MarkerClusterer.prototype.redraw,MarkerClusterer.prototype.removeMarker=MarkerClusterer.prototype.removeMarker,MarkerClusterer.prototype.removeMarkers=MarkerClusterer.prototype.removeMarkers,MarkerClusterer.prototype.resetViewport=MarkerClusterer.prototype.resetViewport,MarkerClusterer.prototype.repaint=MarkerClusterer.prototype.repaint,MarkerClusterer.prototype.setCalculator=MarkerClusterer.prototype.setCalculator,MarkerClusterer.prototype.setGridSize=MarkerClusterer.prototype.setGridSize,MarkerClusterer.prototype.setMaxZoom=MarkerClusterer.prototype.setMaxZoom,MarkerClusterer.prototype.onAdd=MarkerClusterer.prototype.onAdd,MarkerClusterer.prototype.draw=MarkerClusterer.prototype.draw,Cluster.prototype.getCenter=Cluster.prototype.getCenter,Cluster.prototype.getSize=Cluster.prototype.getSize,Cluster.prototype.getMarkers=Cluster.prototype.getMarkers,ClusterIcon.prototype.onAdd=ClusterIcon.prototype.onAdd,ClusterIcon.prototype.draw=ClusterIcon.prototype.draw,ClusterIcon.prototype.onRemove=ClusterIcon.prototype.onRemove,Object.keys=Object.keys||function(t){var e=[];for(var r in t)t.hasOwnProperty(r)&&e.push(r);return e};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/wpsl-gmap.js CHANGED
@@ -1246,8 +1246,16 @@ function makeAjaxRequest( startLatLng, resetMap, autoLoad, infoWindow ) {
1246
  $storeList.html( "<li class='no-results'>" + noResultsMsg + "</li>" );
1247
  }
1248
 
1249
- // Make sure everything fits on the screen.
1250
- fitBounds();
 
 
 
 
 
 
 
 
1251
 
1252
  /*
1253
  * Store the default zoom and latlng values the first time
@@ -1315,8 +1323,8 @@ function collectAjaxData( startLatLng, resetMap, autoLoad ) {
1315
  * Otherwise we first make sure the filter val is valid before including the radius / max_results param
1316
  */
1317
  if ( resetMap ) {
1318
- ajaxData.max_results = wpslSettings.maxResults;
1319
- ajaxData.radius = wpslSettings.searchRadius;
1320
  } else {
1321
  if ( isMobile || defaultFilters ) {
1322
  maxResult = parseInt( $( "#wpsl-results .wpsl-dropdown" ).val() );
@@ -1326,7 +1334,7 @@ function collectAjaxData( startLatLng, resetMap, autoLoad ) {
1326
  radius = parseInt( $( "#wpsl-radius .wpsl-selected-item" ).attr( "data-value" ) );
1327
  }
1328
 
1329
- // If the max resuls or radius filter values are NaN, then we use the default value.
1330
  if ( isNaN( maxResult ) ) {
1331
  ajaxData.max_results = wpslSettings.maxResults;
1332
  } else {
@@ -1334,9 +1342,9 @@ function collectAjaxData( startLatLng, resetMap, autoLoad ) {
1334
  }
1335
 
1336
  if ( isNaN( radius ) ) {
1337
- ajaxData.radius = wpslSettings.searchRadius;
1338
  } else {
1339
- ajaxData.radius = radius;
1340
  }
1341
 
1342
  /*
@@ -1496,7 +1504,8 @@ function getCheckboxIds() {
1496
  */
1497
  function checkMarkerClusters() {
1498
  if ( wpslSettings.markerClusters == 1 ) {
1499
- var clusterZoom = Number( wpslSettings.clusterZoom ),
 
1500
  clusterSize = Number( wpslSettings.clusterSize );
1501
 
1502
  if ( isNaN( clusterZoom ) ) {
@@ -1507,7 +1516,18 @@ function checkMarkerClusters() {
1507
  clusterSize = "";
1508
  }
1509
 
1510
- markerClusterer = new MarkerClusterer( map, markersArray, {
 
 
 
 
 
 
 
 
 
 
 
1511
  gridSize: clusterSize,
1512
  maxZoom: clusterZoom
1513
  });
1246
  $storeList.html( "<li class='no-results'>" + noResultsMsg + "</li>" );
1247
  }
1248
 
1249
+ /*
1250
+ * Do we need to adjust the zoom level so that all the markers fit in the viewport,
1251
+ * or just center the map on the start marker.
1252
+ */
1253
+ if ( wpslSettings.runFitBounds == 1 ) {
1254
+ fitBounds();
1255
+ } else {
1256
+ map.setZoom( Number( wpslSettings.zoomLevel ) );
1257
+ map.setCenter( markersArray[0].position );
1258
+ }
1259
 
1260
  /*
1261
  * Store the default zoom and latlng values the first time
1323
  * Otherwise we first make sure the filter val is valid before including the radius / max_results param
1324
  */
1325
  if ( resetMap ) {
1326
+ ajaxData.max_results = wpslSettings.maxResults;
1327
+ ajaxData.search_radius = wpslSettings.searchRadius;
1328
  } else {
1329
  if ( isMobile || defaultFilters ) {
1330
  maxResult = parseInt( $( "#wpsl-results .wpsl-dropdown" ).val() );
1334
  radius = parseInt( $( "#wpsl-radius .wpsl-selected-item" ).attr( "data-value" ) );
1335
  }
1336
 
1337
+ // If the max results or radius filter values are NaN, then we use the default value.
1338
  if ( isNaN( maxResult ) ) {
1339
  ajaxData.max_results = wpslSettings.maxResults;
1340
  } else {
1342
  }
1343
 
1344
  if ( isNaN( radius ) ) {
1345
+ ajaxData.search_radius = wpslSettings.searchRadius;
1346
  } else {
1347
+ ajaxData.search_radius = radius;
1348
  }
1349
 
1350
  /*
1504
  */
1505
  function checkMarkerClusters() {
1506
  if ( wpslSettings.markerClusters == 1 ) {
1507
+ var markers, markersArrayNoStart,
1508
+ clusterZoom = Number( wpslSettings.clusterZoom ),
1509
  clusterSize = Number( wpslSettings.clusterSize );
1510
 
1511
  if ( isNaN( clusterZoom ) ) {
1516
  clusterSize = "";
1517
  }
1518
 
1519
+ /*
1520
+ * Remove the start location marker from the cluster so the location
1521
+ * count represents the actual returned locations, and not +1 for the start location.
1522
+ */
1523
+ if ( typeof wpslSettings.excludeStartFromCluster !== "undefined" && wpslSettings.excludeStartFromCluster == 1 ) {
1524
+ markersArrayNoStart = markersArray.slice( 0 );
1525
+ markersArrayNoStart.splice( 0,1 );
1526
+ }
1527
+
1528
+ markers = ( typeof markersArrayNoStart === "undefined" ) ? markersArray : markersArrayNoStart;
1529
+
1530
+ markerClusterer = new MarkerClusterer( map, markers, {
1531
  gridSize: clusterSize,
1532
  maxZoom: clusterZoom
1533
  });
js/wpsl-gmap.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(e){function t(t,l){var p,g,u,m,v,S,y;g=o(l),y=Number(g.zoomLevel),u=i(),X=new google.maps.Geocoder,te=new google.maps.DirectionsRenderer,se=new google.maps.DirectionsService,p={zoom:Number(g.zoomLevel),center:g.startLatLng,mapTypeId:google.maps.MapTypeId[g.mapType.toUpperCase()],mapTypeControl:Number(g.mapTypeControl)?!0:!1,scrollwheel:Number(g.scrollWheel)?!0:!1,streetViewControl:Number(g.streetView)?!0:!1,gestureHandling:g.gestureHandling,zoomControlOptions:{position:google.maps.ControlPosition[g.controlPosition.toUpperCase()+"_TOP"]}},we=a(),ee=new google.maps.Map(document.getElementById(t),p),r(g.mapStyle),"undefined"!=typeof window["wpslMap_"+l]&&"undefined"!=typeof window["wpslMap_"+l].locations&&(v=new google.maps.LatLngBounds,S=window["wpslMap_"+l].locations,e.each(S,function(e){m=new google.maps.LatLng(S[e].lat,S[e].lng),Z(m,S[e].id,S[e],!1,u),v.extend(m)}),ee.fitBounds(v),google.maps.event.addListenerOnce(ee,"bounds_changed",function(e){return function(){e.getZoom()>y&&e.setZoom(y)}}(ee))),e("#wpsl-gmap").length&&(1==wpslSettings.autoComplete&&s(),!c()&&e(".wpsl-dropdown").length&&1==wpslSettings.enableStyledDropdowns?Q():(e("#wpsl-search-wrap select").show(),c()?e("#wpsl-wrap").addClass("wpsl-mobile"):e("#wpsl-wrap").addClass("wpsl-default-filters")),e(".wpsl-search").hasClass("wpsl-widget")||(1==wpslSettings.autoLocate?w(g.startLatLng,u):1==wpslSettings.autoLoad&&d(g.startLatLng,u)),1!=wpslSettings.mouseFocus||c()||e("#wpsl-search-input").focus(),f(u),h(g,ee,u),J()),n()}function s(){var t,s,n,o={};"undefined"==typeof wpslSettings.geocodeComponents||e.isEmptyObject(wpslSettings.geocodeComponents)||(o.componentRestrictions=wpslSettings.geocodeComponents),t=document.getElementById("wpsl-search-input"),s=new google.maps.places.Autocomplete(t,o),s.addListener("place_changed",function(){n=s.getPlace(),n.geometry&&(oe=n.geometry.location)})}function n(){"undefined"!=typeof wpslSettings.markerZoomTo&&1==wpslSettings.markerZoomTo&&google.maps.event.addListener(ee,"zoom_changed",function(){A()})}function o(e){var t,s,n,o=["zoomLevel","mapType","mapTypeControl","mapStyle","streetView","scrollWheel","controlPosition"],i={zoomLevel:wpslSettings.zoomLevel,mapType:wpslSettings.mapType,mapTypeControl:wpslSettings.mapTypeControl,mapStyle:wpslSettings.mapStyle,streetView:wpslSettings.streetView,scrollWheel:wpslSettings.scrollWheel,controlPosition:wpslSettings.controlPosition,gestureHandling:wpslSettings.gestureHandling};if("undefined"!=typeof window["wpslMap_"+e]&&"undefined"!=typeof window["wpslMap_"+e].shortCode)for(t=0,s=o.length;s>t;t++)n=window["wpslMap_"+e].shortCode[o[t]],"undefined"!=typeof n&&(i[o[t]]=n);return i.startLatLng=l(e),i}function l(e){var t,s,n="";return"undefined"!=typeof window["wpslMap_"+e]&&"undefined"!=typeof window["wpslMap_"+e].locations&&(n=window["wpslMap_"+e].locations[0]),"undefined"!=typeof n&&"undefined"!=typeof n.lat&&"undefined"!=typeof n.lng?t=new google.maps.LatLng(n.lat,n.lng):""!==wpslSettings.startLatlng?(s=wpslSettings.startLatlng.split(","),t=new google.maps.LatLng(s[0],s[1])):t=new google.maps.LatLng(0,0),t}function i(){var e,t,s={};return"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle?(e=wpslSettings.infoBoxClearance.split(","),t=wpslSettings.infoBoxPixelOffset.split(","),s={alignBottom:!0,boxClass:wpslSettings.infoBoxClass,closeBoxMargin:wpslSettings.infoBoxCloseMargin,closeBoxURL:wpslSettings.infoBoxCloseUrl,content:"",disableAutoPan:Number(wpslSettings.infoBoxDisableAutoPan)?!0:!1,enableEventPropagation:Number(wpslSettings.infoBoxEnableEventPropagation)?!0:!1,infoBoxClearance:new google.maps.Size(Number(e[0]),Number(e[1])),pixelOffset:new google.maps.Size(Number(t[0]),Number(t[1])),zIndex:Number(wpslSettings.infoBoxZindex)},ie=new InfoBox(s)):ie=new google.maps.InfoWindow,ie}function a(){var e,t=wpslSettings.markerIconProps,s={};"undefined"!=typeof t.url?s.url=t.url:"undefined"!=typeof t.categoryMarkerUrl?s.categoryMarkerUrl=t.categoryMarkerUrl:"undefined"!=typeof t.alternateMarkerUrl?s.alternateMarkerUrl=t.alternateMarkerUrl:s.url=wpslSettings.url+"img/markers/";for(var n in t)t.hasOwnProperty(n)&&(e=t[n].split(","),2==e.length&&(s[n]=e));return s}function r(e){e=p(e),e&&ee.setOptions({styles:e})}function p(e){try{var t=JSON.parse(e);if(t&&"object"==typeof t&&null!==t)return t}catch(s){}return!1}function d(e,t){Z(e,0,"",!0,t),E(e,fe,he,t)}function c(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}function w(t,s){if(navigator.geolocation){var n,o,l=!1,i=Number(wpslSettings.geoLocationTimout);n=setInterval(function(){e(".wpsl-icon-direction").toggleClass("wpsl-active-icon")},600),o=setTimeout(function(){g(n),d(t,s)},i),navigator.geolocation.getCurrentPosition(function(i){g(n),clearTimeout(o),K(l),u(t,i,fe,s),e(".wpsl-search").addClass("wpsl-geolocation-run")},function(n){if(e(".wpsl-icon-direction").hasClass("wpsl-user-activated")&&!e(".wpsl-search").hasClass("wpsl-geolocation-run")){switch(n.code){case n.PERMISSION_DENIED:alert(wpslGeolocationErrors.denied);break;case n.POSITION_UNAVAILABLE:alert(wpslGeolocationErrors.unavailable);break;case n.TIMEOUT:alert(wpslGeolocationErrors.timeout);break;default:alert(wpslGeolocationErrors.generalError)}e(".wpsl-icon-direction").removeClass("wpsl-active-icon")}else e(".wpsl-search").hasClass("wpsl-geolocation-run")||(clearTimeout(o),d(t,s))},{maximumAge:6e4,timeout:i,enableHighAccuracy:!0})}else alert(wpslGeolocationErrors.unavailable),d(t,s)}function g(t){clearInterval(t),e(".wpsl-icon-direction").removeClass("wpsl-active-icon")}function u(e,t,s,n){if("undefined"==typeof t)d(e,n);else{var o=new google.maps.LatLng(t.coords.latitude,t.coords.longitude);ne=t,I(o),ee.setCenter(o),Z(o,0,"",!0,n),E(o,s,he,n)}}function f(t){e("#wpsl-search-btn").unbind("click").bind("click",function(s){var n=!1;return e("#wpsl-search-input").removeClass(),e("#wpsl-search-input").val()?(e("#wpsl-result-list ul").empty(),e("#wpsl-stores").show(),e(".wpsl-direction-before, .wpsl-direction-after").remove(),e("#wpsl-direction-details").hide(),fe=!1,m(),K(n),S(),1==wpslSettings.autoComplete&&"undefined"!=typeof oe?x(oe,t):k(t)):e("#wpsl-search-input").addClass("wpsl-error").focus(),!1})}function m(){"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&"undefined"!=typeof de[0]&&de[0].close()}function h(t,s,n){google.maps.event.addListenerOnce(s,"tilesloaded",function(){e(".gm-style").append(wpslSettings.mapControls),e(".wpsl-icon-reset, #wpsl-reset-map").length>0&&(v(t.startLatLng,n),e(".wpsl-icon-reset").hide()),e(".wpsl-icon-direction").on("click",function(){e(this).addClass("wpsl-user-activated"),w(t.startLatLng,n)})})}function v(t,s){e(".wpsl-icon-reset, #wpsl-reset-map").on("click",function(){var n=!1,o=!0;e(this).hasClass("wpsl-in-progress")||(1==wpslSettings.autoLoad&&(he=1),(ee.getCenter().lat()!==ue.centerLatlng.lat()||ee.getCenter().lng()!==ue.centerLatlng.lng()||ee.getZoom()!==ue.zoomLevel)&&(K(n),e("#wpsl-search-input").val("").removeClass(),e(".wpsl-icon-reset").addClass("wpsl-in-progress"),ae&&ae.clearMarkers(),S(),y(),1==wpslSettings.autoLocate?u(t,ne,o,s):d(t,s)),e("#wpsl-stores").show(),e("#wpsl-direction-details").hide())})}function S(){"undefined"!=typeof re&&""!==re&&(re.setMap(null),re="")}function y(){var t,s,n,o,l,i,a,r,p=e("#wpsl-wrap").hasClass("wpsl-default-filters"),d=[wpslSettings.searchRadius+" "+wpslSettings.distanceUnit,wpslSettings.maxResults],c=["wpsl-radius","wpsl-results"];for(t=0,s=c.length;s>t;t++)e("#"+c[t]+" select").val(parseInt(d[t])),e("#"+c[t]+" li").removeClass(),"wpsl-radius"==c[t]?n=wpslSettings.searchRadius:"wpsl-results"==c[t]&&(n=wpslSettings.maxResults),e("#"+c[t]+" li").each(function(){e(this).text()===d[t]&&(e(this).addClass("wpsl-selected-dropdown"),e("#"+c[t]+" .wpsl-selected-item").html(d[t]).attr("data-value",n))});e("#wpsl-category").length&&(e("#wpsl-category select").val(0),e("#wpsl-category li").removeClass(),e("#wpsl-category li:first-child").addClass("wpsl-selected-dropdown"),o=e("#wpsl-category li:first-child").text(),e("#wpsl-category .wpsl-selected-item").html(o).attr("data-value",0)),e(".wpsl-custom-dropdown").length>0&&e(".wpsl-custom-dropdown").each(function(t){p?e(this).find("option").removeAttr("selected"):(l=e(this).siblings("div"),i=l.find("li:first-child"),a=i.text(),r=i.attr("data-value"),l.find("li").removeClass(),l.prev().html(a).attr("data-value",r))})}function b(t){var s,n,o,l,i;for(m(),i=t.parents("li").length>0?t.parents("li").data("store-id"):t.parents(".wpsl-info-window").data("store-id"),"undefined"!=typeof re&&""!==re&&(n=re.getPosition()),ge={centerLatlng:ee.getCenter(),zoomLevel:ee.getZoom()},s=0,l=ce.length;l>s;s++)0!=ce[s].storeId||"undefined"!=typeof n&&""!==n?ce[s].storeId==i&&(o=ce[s].getPosition()):n=ce[s].getPosition();n&&o?(e("#wpsl-direction-details ul").empty(),e(".wpsl-direction-before, .wpsl-direction-after").remove(),C(n,o)):alert(wpslLabels.generalError)}function L(e,t){var s,n,o;for(s=0,n=ce.length;n>s;s++)ce[s].storeId==e&&(o=ce[s],"start"==t?o.setAnimation(google.maps.Animation.BOUNCE):o.setAnimation(null))}function C(t,s){var n,o,l,i,a,r,p,d,c,w="",g={};d="km"==wpslSettings.distanceUnit?"METRIC":"IMPERIAL",g={origin:t,destination:s,travelMode:wpslSettings.directionsTravelMode,unitSystem:google.maps.UnitSystem[d]},se.route(g,function(t,s){if(s==google.maps.DirectionsStatus.OK){if(te.setMap(ee),te.setDirections(t),t.routes.length>0){for(a=t.routes[0],r=0;r<a.legs.length;r++)for(n=a.legs[r],p=0,o=n.steps.length;o>p;p++)l=n.steps[p],i=p+1,w=w+"<li><div class='wpsl-direction-index'>"+i+"</div><div class='wpsl-direction-txt'>"+l.instructions+"</div><div class='wpsl-direction-distance'>"+l.distance.text+"</div></li>";for(e("#wpsl-direction-details ul").append(w).before("<div class='wpsl-direction-before'><a class='wpsl-back' id='wpsl-direction-start' href='#'>"+wpslLabels.back+"</a><div><span class='wpsl-total-distance'>"+a.legs[0].distance.text+"</span> - <span class='wpsl-total-durations'>"+a.legs[0].duration.text+"</span></div></div>").after("<p class='wpsl-direction-after'>"+t.routes[0].copyrights+"</p>"),e("#wpsl-direction-details").show(),r=0,o=ce.length;o>r;r++)ce[r].setMap(null);ae&&ae.clearMarkers(),"undefined"!=typeof re&&""!==re&&re.setMap(null),e("#wpsl-stores").hide(),1==wpslSettings.templateId&&(c=e("#wpsl-gmap").offset(),e(window).scrollTop(c.top))}}else q(s)})}function k(t){var s,n={address:e("#wpsl-search-input").val()};"undefined"==typeof wpslSettings.geocodeComponents||e.isEmptyObject(wpslSettings.geocodeComponents)||(n.componentRestrictions=wpslSettings.geocodeComponents),X.geocode(n,function(e,n){n==google.maps.GeocoderStatus.OK?(s=e[0].geometry.location,x(s,t)):F(n)})}function x(e,t){var s=!1;Z(e,0,"",!0,t),E(e,fe,s,t)}function I(t){var s;X.geocode({latLng:t},function(t,n){n==google.maps.GeocoderStatus.OK?(s=M(t),""!==s&&e("#wpsl-search-input").val(s)):F(n)})}function M(e){var t,s,n,o=e[0].address_components.length;for(n=0;o>n;n++)s=e[0].address_components[n].types,(/^postal_code$/.test(s)||/^postal_code_prefix,postal_code$/.test(s))&&(t=e[0].address_components[n].long_name);return t}function E(e,t,s,n){1==wpslSettings.directionRedirect?N(e,function(){P(e,t,s,n)}):P(e,t,s,n)}function N(e,t){X.geocode({latLng:e},function(e,s){s==google.maps.GeocoderStatus.OK?(pe=e[0].formatted_address,t()):F(s)})}function P(t,s,n,o){var l,i,a={},r="",p=!1,d=e("#wpsl-listing-template").html(),w=e("#wpsl-stores ul"),g=wpslSettings.url+"img/ajax-loader.gif";a=R(t,s,n),w.empty().append("<li class='wpsl-preloader'><img src='"+g+"'/>"+wpslLabels.preloader+"</li>"),e.get(wpslSettings.ajaxurl,a,function(s){e(".wpsl-preloader, .no-results").remove(),s.length>0?(e.each(s,function(e){_.extend(s[e],Ce),l=new google.maps.LatLng(s[e].lat,s[e].lng),Z(l,s[e].id,s[e],p,o),r+=_.template(d)(s[e])}),e("#wpsl-result-list").off("click",".wpsl-directions"),w.empty(),w.append(r),e("#wpsl-result-list").on("click",".wpsl-directions",function(){return 1!=wpslSettings.directionRedirect?(b(e(this)),!1):void 0}),z(),e("#wpsl-result-list p:empty").remove()):(Z(t,0,"",!0,o),i=T(),w.html("<li class='no-results'>"+i+"</li>")),H(),1==wpslSettings.resetMap&&(e.isEmptyObject(ue)&&google.maps.event.addListenerOnce(ee,"tilesloaded",function(){ue={centerLatlng:ee.getCenter(),zoomLevel:ee.getZoom()},e("#wpsl-map-controls").addClass("wpsl-reset-exists"),e(".wpsl-icon-reset, #wpsl-reset-map").show()}),e(".wpsl-icon-reset").removeClass("wpsl-in-progress"))}),1!=wpslSettings.mouseFocus||c()||e("#wpsl-search-input").focus()}function R(t,s,n){var o,l,i,a,r,p="",d=e("#wpsl-wrap").hasClass("wpsl-mobile"),c=e("#wpsl-wrap").hasClass("wpsl-default-filters"),w={action:"store_search",lat:t.lat(),lng:t.lng()};return s?(w.max_results=wpslSettings.maxResults,w.radius=wpslSettings.searchRadius):(d||c?(o=parseInt(e("#wpsl-results .wpsl-dropdown").val()),l=parseInt(e("#wpsl-radius .wpsl-dropdown").val())):(o=parseInt(e("#wpsl-results .wpsl-selected-item").attr("data-value")),l=parseInt(e("#wpsl-radius .wpsl-selected-item").attr("data-value"))),isNaN(o)?w.max_results=wpslSettings.maxResults:w.max_results=o,isNaN(l)?w.radius=wpslSettings.searchRadius:w.radius=l,"undefined"!=typeof wpslSettings.categoryIds?w.filter=wpslSettings.categoryIds:e("#wpsl-category").length>0?(p=d||c?parseInt(e("#wpsl-category .wpsl-dropdown").val()):parseInt(e("#wpsl-category .wpsl-selected-item").attr("data-value")),isNaN(p)||0===p||(w.filter=p)):e("#wpsl-checkbox-filter").length>0&&e("#wpsl-checkbox-filter input:checked").length>0&&(w.filter=U()),e(".wpsl-custom-dropdown").length>0&&e(".wpsl-custom-dropdown").each(function(t){i="",a="",d||c?(i=e(this).attr("name"),a=e(this).val()):(i=e(this).attr("name"),a=e(this).next(".wpsl-selected-item").attr("data-value")),i&&a&&(w[i]=a)}),e(".wpsl-custom-checkboxes").length>0&&e(".wpsl-custom-checkboxes").each(function(t){r=e(this).attr("data-name"),r&&(w[r]=O(r))})),1==n&&("undefined"!=typeof ne?w.skip_cache=1:(w.autoload=1,"undefined"!=typeof wpslSettings.categoryIds&&(w.filter=wpslSettings.categoryIds))),"undefined"!=typeof wpslSettings.collectStatistics&&0==n&&(w.search=e("#wpsl-search-input").val()),w}function O(t){var s=e("[data-name="+t+"]"),n=[];return e(s).find("input:checked").each(function(t){n.push(e(this).val())}),n.join()}function T(){var e;return e="undefined"!=typeof wpslSettings.noResults&&""!==wpslSettings.noResults?wpslSettings.noResults:wpslLabels.noResults}function U(){var t=e("#wpsl-checkbox-filter input:checked").map(function(){return e(this).val()});return t=t.get(),t=t.join(",")}function z(){if(1==wpslSettings.markerClusters){var e=Number(wpslSettings.clusterZoom),t=Number(wpslSettings.clusterSize);isNaN(e)&&(e=""),isNaN(t)&&(t=""),ae=new MarkerClusterer(ee,ce,{gridSize:t,maxZoom:e})}}function Z(e,t,s,n,o){var l,i,a,r=!0;0===t?(s={store:wpslLabels.startPoint},l=we.url+wpslSettings.startMarker):l="undefined"!=typeof s.alternateMarkerUrl&&s.alternateMarkerUrl?s.alternateMarkerUrl:"undefined"!=typeof s.categoryMarkerUrl&&s.categoryMarkerUrl?s.categoryMarkerUrl:we.url+wpslSettings.storeMarker,i={url:l,scaledSize:new google.maps.Size(Number(we.scaledSize[0]),Number(we.scaledSize[1])),origin:new google.maps.Point(Number(we.origin[0]),Number(we.origin[1])),anchor:new google.maps.Point(Number(we.anchor[0]),Number(we.anchor[1]))},a=new google.maps.Marker({position:e,map:ee,optimized:!1,title:B(s.store),draggable:n,storeId:t,icon:i}),ce.push(a),google.maps.event.addListener(a,"click",function(n){return function(){0!=t?"undefined"!=typeof wpslSettings.markerStreetView&&1==wpslSettings.markerStreetView?j(e,function(){$(a,G(s),o,n)}):$(a,G(s),o,n):$(a,wpslLabels.startPoint,o,n),google.maps.event.clearListeners(o,"domready"),google.maps.event.addListener(o,"domready",function(){V(a,n),A()})}}(ee)),n&&google.maps.event.addListener(a,"dragend",function(e){K(r),ee.setCenter(e.latLng),I(e.latLng),E(e.latLng,fe,he=!1,o)})}function B(e){return e?e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(t)}):void 0}function $(e,t,s,n){de.length=0,s.setContent(t),s.open(n,e),de.push(s),"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&1==wpslSettings.markerClusters&&(le=e.storeId,s.setVisible(!0))}function V(t,s){e(".wpsl-info-actions a").on("click",function(n){var o=Number(wpslSettings.autoZoomLevel);if(n.stopImmediatePropagation(),e(this).hasClass("wpsl-directions")){if(1==wpslSettings.directionRedirect)return!0;b(e(this))}else e(this).hasClass("wpsl-streetview")?W(t,s):e(this).hasClass("wpsl-zoom-here")&&(s.setCenter(t.getPosition()),s.setZoom(o));return!1})}function A(){var t=ee.getZoom();t>=wpslSettings.autoZoomLevel?e(".wpsl-zoom-here").hide():e(".wpsl-zoom-here").show()}function W(t,s){var n=s.getStreetView();n.setPosition(t.getPosition()),n.setVisible(!0),e("#wpsl-map-controls").hide(),D(n,s)}function D(t,s){google.maps.event.addListener(t,"visible_changed",function(){if(!t.getVisible()){var n=s.getZoom();e("#wpsl-map-controls").show(),s.setZoom(n-1),s.setZoom(n)}})}function j(e,t){var s=new google.maps.StreetViewService;s.getPanoramaByLocation(e,50,function(e,s){me=s==google.maps.StreetViewStatus.OK?!0:!1,t()})}function G(t){var s,n;return n=e("#wpsl-base-gmap_0").length?e("#wpsl-cpt-info-window-template").html():e("#wpsl-info-window-template").html(),s=_.template(n)(t)}function H(){var e,t,s=Number(wpslSettings.autoZoomLevel),n=new google.maps.LatLngBounds;for(google.maps.event.addListenerOnce(ee,"bounds_changed",function(e){this.getZoom()>s&&this.setZoom(s)}),e=0,t=ce.length;t>e;e++)n.extend(ce[e].position);ee.fitBounds(n)}function K(e){var t,s;if(te.setMap(null),ce){for(s=0,t=ce.length;t>s;s++)e?1!=ce[s].draggable?ce[s].setMap(null):re=ce[s]:ce[s].setMap(null);ce.length=0}ae&&ae.clearMarkers()}function F(e){var t;switch(e){case"ZERO_RESULTS":t=wpslLabels.noResults;break;case"OVER_QUERY_LIMIT":t=wpslLabels.queryLimit;break;default:t=wpslLabels.generalError}alert(t)}function q(e){var t;switch(e){case"NOT_FOUND":case"ZERO_RESULTS":t=wpslLabels.noDirectionsFound;break;case"OVER_QUERY_LIMIT":t=wpslLabels.queryLimit;break;default:t=wpslLabels.generalError}alert(t)}function Q(){var t=Number(wpslSettings.maxDropdownHeight);e(".wpsl-dropdown").each(function(s){var n,o,l=e(this);l.$dropdownWrap=l.wrap("<div class='wpsl-dropdown'></div>").parent(),l.$selectedVal=l.val(),l.$dropdownElem=e("<div><ul/></div>").appendTo(l.$dropdownWrap),l.$dropdown=l.$dropdownElem.find("ul"),l.$options=l.$dropdownWrap.find("option"),l.hide().removeClass("wpsl-dropdown"),e.each(l.$options,function(){n=e(this).val()==l.$selectedVal?'class="wpsl-selected-dropdown"':"",l.$dropdown.append("<li data-value="+e(this).val()+" "+n+">"+e(this).text()+"</li>")}),l.$dropdownElem.before("<span data-value="+l.find(":selected").val()+" class='wpsl-selected-item'>"+l.find(":selected").text()+"</span>"),l.$dropdownItem=l.$dropdownElem.find("li"),l.$dropdownWrap.on("click",function(s){return e(this).hasClass("wpsl-active")?void e(this).removeClass("wpsl-active"):(Y(),e(this).toggleClass("wpsl-active"),o=0,e(this).hasClass("wpsl-active")?(l.$dropdownItem.each(function(t){o+=e(this).outerHeight()}),l.$dropdownElem.css("height",o+2+"px")):l.$dropdownElem.css("height",0),o>t&&(e(this).addClass("wpsl-scroll-required"),l.$dropdownElem.css("height",t+"px")),void s.stopPropagation())}),l.$dropdownItem.on("click",function(t){l.$dropdownWrap.find(e(".wpsl-selected-item")).html(e(this).text()).attr("data-value",e(this).attr("data-value")),l.$dropdownItem.removeClass("wpsl-selected-dropdown"),e(this).addClass("wpsl-selected-dropdown"),Y(),t.stopPropagation()})}),e(document).click(function(){Y()})}function Y(){e(".wpsl-dropdown").removeClass("wpsl-active"),e(".wpsl-dropdown div").css("height",0)}function J(){e(".wpsl-search").hasClass("wpsl-widget")&&(e("#wpsl-search-btn").trigger("click"),e(".wpsl-search").removeClass("wpsl-widget"))}var X,ee,te,se,ne,oe,le,ie,ae,re,pe,de=[],ce=[],we={},ge={},ue={},fe=!1,me=!1,he="undefined"!=typeof wpslSettings?wpslSettings.autoLoad:"";if(_.templateSettings={evaluate:/\<\%(.+?)\%\>/g,interpolate:/\<\%=(.+?)\%\>/g,escape:/\<\%-(.+?)\%\>/g},e(".wpsl-gmap-canvas").length&&(e("<img />").attr("src",wpslSettings.url+"img/ajax-loader.gif"),e(".wpsl-gmap-canvas").each(function(s){var n=e(this).attr("id");t(n,s)})),e("#wpsl-result-list").on("click",".wpsl-back",function(){var t,s;for(te.setMap(null),t=0,s=ce.length;s>t;t++)ce[t].setMap(ee);return"undefined"!=typeof re&&""!==re&&re.setMap(ee),ae&&z(),ee.setCenter(ge.centerLatlng),ee.setZoom(ge.zoomLevel),e(".wpsl-direction-before, .wpsl-direction-after").remove(),e("#wpsl-stores").show(),e("#wpsl-direction-details").hide(),!1}),e("#wpsl-gmap").length&&("bounce"==wpslSettings.markerEffect?(e("#wpsl-stores").on("mouseenter","li",function(){L(e(this).data("store-id"),"start")}),e("#wpsl-stores").on("mouseleave","li",function(){L(e(this).data("store-id"),"stop")})):"info_window"==wpslSettings.markerEffect&&e("#wpsl-stores").on("mouseenter","li",function(){var t,s;for(t=0,s=ce.length;s>t;t++)ce[t].storeId==e(this).data("store-id")&&(google.maps.event.trigger(ce[t],"click"),ee.setCenter(ce[t].position))})),"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&1==wpslSettings.markerClusters){var ve,Se,ye,be,Le;google.maps.event.addListener(ee,"zoom_changed",function(){google.maps.event.addListenerOnce(ee,"idle",function(){if("undefined"!=typeof ae&&(ve=ae.clusters_,ve.length))for(be=0,Se=ve.length;Se>be;be++)for(Le=0,ye=ve[be].markers_.length;ye>Le;Le++)if(ve[be].markers_[Le].storeId==le){ie.getVisible()&&null===ve[be].markers_[Le].map?ie.setVisible(!1):ie.getVisible()||null===ve[be].markers_[Le].map||ie.setVisible(!0);break}})})}var Ce={formatPhoneNumber:function(e){return 1==wpslSettings.phoneUrl&&c()&&(e="<a href='tel:"+Ce.formatClickablePhoneNumber(e)+"'>"+e+"</a>"),e},formatClickablePhoneNumber:function(e){return-1!=e.indexOf("+")&&-1!=e.indexOf("(0)")&&(e=e.replace("(0)","")),e.replace(/(-| |\(|\)|\.|)/g,"")},createInfoWindowActions:function(t){var s,n="",o="";return e("#wpsl-gmap").length&&(me&&(n="<a class='wpsl-streetview' href='#'>"+wpslLabels.streetView+"</a>"),1==wpslSettings.markerZoomTo&&(o="<a class='wpsl-zoom-here' href='#'>"+wpslLabels.zoomHere+"</a>"),s="<div class='wpsl-info-actions'>"+Ce.createDirectionUrl(t)+n+o+"</div>"),s},createDirectionUrl:function(t){var s,n,o,l={};return 1==wpslSettings.directionRedirect?("undefined"==typeof pe&&(pe=""),l.target="target='_blank'","undefined"!=typeof t?l.src=e("[data-store-id="+t+"] .wpsl-directions").attr("href"):(o=this.zip?this.zip+", ":"",n=this.address+", "+this.city+", "+o+this.country,l.src="https://maps.google.com/maps?saddr="+Ce.rfc3986EncodeURIComponent(pe)+"&daddr="+Ce.rfc3986EncodeURIComponent(n))):l={src:"#",target:""},s="<a class='wpsl-directions' "+l.target+" href='"+l.src+"'>"+wpslLabels.directions+"</a>"},rfc3986EncodeURIComponent:function(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)}};if(e("#wpsl-stores").on("click",".wpsl-store-details",function(){var t,s,n=e(this).parents("li"),o=n.data("store-id");if("info window"==wpslSettings.moreInfoLocation)for(t=0,s=ce.length;s>t;t++)ce[t].storeId==o&&google.maps.event.trigger(ce[t],"click");else n.find(".wpsl-more-info-listings").is(":visible")?e(this).removeClass("wpsl-active-details"):e(this).addClass("wpsl-active-details"),n.siblings().find(".wpsl-store-details").removeClass("wpsl-active-details"),n.siblings().find(".wpsl-more-info-listings").hide(),n.find(".wpsl-more-info-listings").toggle();return"default"!=wpslSettings.templateId||"store listings"==wpslSettings.moreInfoLocation?!1:void 0}),e("a[href='#"+wpslSettings.mapTabAnchor+"']").length){var ke,xe,Ie=Number(wpslSettings.mapTabAnchorReturn)?!0:!1,Me=e("a[href='#"+wpslSettings.mapTabAnchor+"']");Me.on("click",function(){return setTimeout(function(){ke=ee.getZoom(),xe=ee.getCenter(),google.maps.event.trigger(ee,"resize"),ee.setZoom(ke),ee.setCenter(xe),H()},50),Ie})}});
1
+ jQuery(document).ready(function(e){function t(t,l){var p,g,u,m,v,S,y;g=o(l),y=Number(g.zoomLevel),u=i(),X=new google.maps.Geocoder,te=new google.maps.DirectionsRenderer,se=new google.maps.DirectionsService,p={zoom:Number(g.zoomLevel),center:g.startLatLng,mapTypeId:google.maps.MapTypeId[g.mapType.toUpperCase()],mapTypeControl:Number(g.mapTypeControl)?!0:!1,scrollwheel:Number(g.scrollWheel)?!0:!1,streetViewControl:Number(g.streetView)?!0:!1,gestureHandling:g.gestureHandling,zoomControlOptions:{position:google.maps.ControlPosition[g.controlPosition.toUpperCase()+"_TOP"]}},we=a(),ee=new google.maps.Map(document.getElementById(t),p),r(g.mapStyle),"undefined"!=typeof window["wpslMap_"+l]&&"undefined"!=typeof window["wpslMap_"+l].locations&&(v=new google.maps.LatLngBounds,S=window["wpslMap_"+l].locations,e.each(S,function(e){m=new google.maps.LatLng(S[e].lat,S[e].lng),Z(m,S[e].id,S[e],!1,u),v.extend(m)}),ee.fitBounds(v),google.maps.event.addListenerOnce(ee,"bounds_changed",function(e){return function(){e.getZoom()>y&&e.setZoom(y)}}(ee))),e("#wpsl-gmap").length&&(1==wpslSettings.autoComplete&&s(),!c()&&e(".wpsl-dropdown").length&&1==wpslSettings.enableStyledDropdowns?Q():(e("#wpsl-search-wrap select").show(),c()?e("#wpsl-wrap").addClass("wpsl-mobile"):e("#wpsl-wrap").addClass("wpsl-default-filters")),e(".wpsl-search").hasClass("wpsl-widget")||(1==wpslSettings.autoLocate?w(g.startLatLng,u):1==wpslSettings.autoLoad&&d(g.startLatLng,u)),1!=wpslSettings.mouseFocus||c()||e("#wpsl-search-input").focus(),f(u),h(g,ee,u),J()),n()}function s(){var t,s,n,o={};"undefined"==typeof wpslSettings.geocodeComponents||e.isEmptyObject(wpslSettings.geocodeComponents)||(o.componentRestrictions=wpslSettings.geocodeComponents),t=document.getElementById("wpsl-search-input"),s=new google.maps.places.Autocomplete(t,o),s.addListener("place_changed",function(){n=s.getPlace(),n.geometry&&(oe=n.geometry.location)})}function n(){"undefined"!=typeof wpslSettings.markerZoomTo&&1==wpslSettings.markerZoomTo&&google.maps.event.addListener(ee,"zoom_changed",function(){A()})}function o(e){var t,s,n,o=["zoomLevel","mapType","mapTypeControl","mapStyle","streetView","scrollWheel","controlPosition"],i={zoomLevel:wpslSettings.zoomLevel,mapType:wpslSettings.mapType,mapTypeControl:wpslSettings.mapTypeControl,mapStyle:wpslSettings.mapStyle,streetView:wpslSettings.streetView,scrollWheel:wpslSettings.scrollWheel,controlPosition:wpslSettings.controlPosition,gestureHandling:wpslSettings.gestureHandling};if("undefined"!=typeof window["wpslMap_"+e]&&"undefined"!=typeof window["wpslMap_"+e].shortCode)for(t=0,s=o.length;s>t;t++)n=window["wpslMap_"+e].shortCode[o[t]],"undefined"!=typeof n&&(i[o[t]]=n);return i.startLatLng=l(e),i}function l(e){var t,s,n="";return"undefined"!=typeof window["wpslMap_"+e]&&"undefined"!=typeof window["wpslMap_"+e].locations&&(n=window["wpslMap_"+e].locations[0]),"undefined"!=typeof n&&"undefined"!=typeof n.lat&&"undefined"!=typeof n.lng?t=new google.maps.LatLng(n.lat,n.lng):""!==wpslSettings.startLatlng?(s=wpslSettings.startLatlng.split(","),t=new google.maps.LatLng(s[0],s[1])):t=new google.maps.LatLng(0,0),t}function i(){var e,t,s={};return"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle?(e=wpslSettings.infoBoxClearance.split(","),t=wpslSettings.infoBoxPixelOffset.split(","),s={alignBottom:!0,boxClass:wpslSettings.infoBoxClass,closeBoxMargin:wpslSettings.infoBoxCloseMargin,closeBoxURL:wpslSettings.infoBoxCloseUrl,content:"",disableAutoPan:Number(wpslSettings.infoBoxDisableAutoPan)?!0:!1,enableEventPropagation:Number(wpslSettings.infoBoxEnableEventPropagation)?!0:!1,infoBoxClearance:new google.maps.Size(Number(e[0]),Number(e[1])),pixelOffset:new google.maps.Size(Number(t[0]),Number(t[1])),zIndex:Number(wpslSettings.infoBoxZindex)},ie=new InfoBox(s)):ie=new google.maps.InfoWindow,ie}function a(){var e,t=wpslSettings.markerIconProps,s={};"undefined"!=typeof t.url?s.url=t.url:"undefined"!=typeof t.categoryMarkerUrl?s.categoryMarkerUrl=t.categoryMarkerUrl:"undefined"!=typeof t.alternateMarkerUrl?s.alternateMarkerUrl=t.alternateMarkerUrl:s.url=wpslSettings.url+"img/markers/";for(var n in t)t.hasOwnProperty(n)&&(e=t[n].split(","),2==e.length&&(s[n]=e));return s}function r(e){e=p(e),e&&ee.setOptions({styles:e})}function p(e){try{var t=JSON.parse(e);if(t&&"object"==typeof t&&null!==t)return t}catch(s){}return!1}function d(e,t){Z(e,0,"",!0,t),N(e,fe,he,t)}function c(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}function w(t,s){if(navigator.geolocation){var n,o,l=!1,i=Number(wpslSettings.geoLocationTimout);n=setInterval(function(){e(".wpsl-icon-direction").toggleClass("wpsl-active-icon")},600),o=setTimeout(function(){g(n),d(t,s)},i),navigator.geolocation.getCurrentPosition(function(i){g(n),clearTimeout(o),F(l),u(t,i,fe,s),e(".wpsl-search").addClass("wpsl-geolocation-run")},function(n){if(e(".wpsl-icon-direction").hasClass("wpsl-user-activated")&&!e(".wpsl-search").hasClass("wpsl-geolocation-run")){switch(n.code){case n.PERMISSION_DENIED:alert(wpslGeolocationErrors.denied);break;case n.POSITION_UNAVAILABLE:alert(wpslGeolocationErrors.unavailable);break;case n.TIMEOUT:alert(wpslGeolocationErrors.timeout);break;default:alert(wpslGeolocationErrors.generalError)}e(".wpsl-icon-direction").removeClass("wpsl-active-icon")}else e(".wpsl-search").hasClass("wpsl-geolocation-run")||(clearTimeout(o),d(t,s))},{maximumAge:6e4,timeout:i,enableHighAccuracy:!0})}else alert(wpslGeolocationErrors.unavailable),d(t,s)}function g(t){clearInterval(t),e(".wpsl-icon-direction").removeClass("wpsl-active-icon")}function u(e,t,s,n){if("undefined"==typeof t)d(e,n);else{var o=new google.maps.LatLng(t.coords.latitude,t.coords.longitude);ne=t,I(o),ee.setCenter(o),Z(o,0,"",!0,n),N(o,s,he,n)}}function f(t){e("#wpsl-search-btn").unbind("click").bind("click",function(s){var n=!1;return e("#wpsl-search-input").removeClass(),e("#wpsl-search-input").val()?(e("#wpsl-result-list ul").empty(),e("#wpsl-stores").show(),e(".wpsl-direction-before, .wpsl-direction-after").remove(),e("#wpsl-direction-details").hide(),fe=!1,m(),F(n),S(),1==wpslSettings.autoComplete&&"undefined"!=typeof oe?x(oe,t):k(t)):e("#wpsl-search-input").addClass("wpsl-error").focus(),!1})}function m(){"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&"undefined"!=typeof de[0]&&de[0].close()}function h(t,s,n){google.maps.event.addListenerOnce(s,"tilesloaded",function(){e(".gm-style").append(wpslSettings.mapControls),e(".wpsl-icon-reset, #wpsl-reset-map").length>0&&(v(t.startLatLng,n),e(".wpsl-icon-reset").hide()),e(".wpsl-icon-direction").on("click",function(){e(this).addClass("wpsl-user-activated"),w(t.startLatLng,n)})})}function v(t,s){e(".wpsl-icon-reset, #wpsl-reset-map").on("click",function(){var n=!1,o=!0;e(this).hasClass("wpsl-in-progress")||(1==wpslSettings.autoLoad&&(he=1),(ee.getCenter().lat()!==ue.centerLatlng.lat()||ee.getCenter().lng()!==ue.centerLatlng.lng()||ee.getZoom()!==ue.zoomLevel)&&(F(n),e("#wpsl-search-input").val("").removeClass(),e(".wpsl-icon-reset").addClass("wpsl-in-progress"),ae&&ae.clearMarkers(),S(),y(),1==wpslSettings.autoLocate?u(t,ne,o,s):d(t,s)),e("#wpsl-stores").show(),e("#wpsl-direction-details").hide())})}function S(){"undefined"!=typeof re&&""!==re&&(re.setMap(null),re="")}function y(){var t,s,n,o,l,i,a,r,p=e("#wpsl-wrap").hasClass("wpsl-default-filters"),d=[wpslSettings.searchRadius+" "+wpslSettings.distanceUnit,wpslSettings.maxResults],c=["wpsl-radius","wpsl-results"];for(t=0,s=c.length;s>t;t++)e("#"+c[t]+" select").val(parseInt(d[t])),e("#"+c[t]+" li").removeClass(),"wpsl-radius"==c[t]?n=wpslSettings.searchRadius:"wpsl-results"==c[t]&&(n=wpslSettings.maxResults),e("#"+c[t]+" li").each(function(){e(this).text()===d[t]&&(e(this).addClass("wpsl-selected-dropdown"),e("#"+c[t]+" .wpsl-selected-item").html(d[t]).attr("data-value",n))});e("#wpsl-category").length&&(e("#wpsl-category select").val(0),e("#wpsl-category li").removeClass(),e("#wpsl-category li:first-child").addClass("wpsl-selected-dropdown"),o=e("#wpsl-category li:first-child").text(),e("#wpsl-category .wpsl-selected-item").html(o).attr("data-value",0)),e(".wpsl-custom-dropdown").length>0&&e(".wpsl-custom-dropdown").each(function(t){p?e(this).find("option").removeAttr("selected"):(l=e(this).siblings("div"),i=l.find("li:first-child"),a=i.text(),r=i.attr("data-value"),l.find("li").removeClass(),l.prev().html(a).attr("data-value",r))})}function b(t){var s,n,o,l,i;for(m(),i=t.parents("li").length>0?t.parents("li").data("store-id"):t.parents(".wpsl-info-window").data("store-id"),"undefined"!=typeof re&&""!==re&&(n=re.getPosition()),ge={centerLatlng:ee.getCenter(),zoomLevel:ee.getZoom()},s=0,l=ce.length;l>s;s++)0!=ce[s].storeId||"undefined"!=typeof n&&""!==n?ce[s].storeId==i&&(o=ce[s].getPosition()):n=ce[s].getPosition();n&&o?(e("#wpsl-direction-details ul").empty(),e(".wpsl-direction-before, .wpsl-direction-after").remove(),L(n,o)):alert(wpslLabels.generalError)}function C(e,t){var s,n,o;for(s=0,n=ce.length;n>s;s++)ce[s].storeId==e&&(o=ce[s],"start"==t?o.setAnimation(google.maps.Animation.BOUNCE):o.setAnimation(null))}function L(t,s){var n,o,l,i,a,r,p,d,c,w="",g={};d="km"==wpslSettings.distanceUnit?"METRIC":"IMPERIAL",g={origin:t,destination:s,travelMode:wpslSettings.directionsTravelMode,unitSystem:google.maps.UnitSystem[d]},se.route(g,function(t,s){if(s==google.maps.DirectionsStatus.OK){if(te.setMap(ee),te.setDirections(t),t.routes.length>0){for(a=t.routes[0],r=0;r<a.legs.length;r++)for(n=a.legs[r],p=0,o=n.steps.length;o>p;p++)l=n.steps[p],i=p+1,w=w+"<li><div class='wpsl-direction-index'>"+i+"</div><div class='wpsl-direction-txt'>"+l.instructions+"</div><div class='wpsl-direction-distance'>"+l.distance.text+"</div></li>";for(e("#wpsl-direction-details ul").append(w).before("<div class='wpsl-direction-before'><a class='wpsl-back' id='wpsl-direction-start' href='#'>"+wpslLabels.back+"</a><div><span class='wpsl-total-distance'>"+a.legs[0].distance.text+"</span> - <span class='wpsl-total-durations'>"+a.legs[0].duration.text+"</span></div></div>").after("<p class='wpsl-direction-after'>"+t.routes[0].copyrights+"</p>"),e("#wpsl-direction-details").show(),r=0,o=ce.length;o>r;r++)ce[r].setMap(null);ae&&ae.clearMarkers(),"undefined"!=typeof re&&""!==re&&re.setMap(null),e("#wpsl-stores").hide(),1==wpslSettings.templateId&&(c=e("#wpsl-gmap").offset(),e(window).scrollTop(c.top))}}else q(s)})}function k(t){var s,n={address:e("#wpsl-search-input").val()};"undefined"==typeof wpslSettings.geocodeComponents||e.isEmptyObject(wpslSettings.geocodeComponents)||(n.componentRestrictions=wpslSettings.geocodeComponents),X.geocode(n,function(e,n){n==google.maps.GeocoderStatus.OK?(s=e[0].geometry.location,x(s,t)):K(n)})}function x(e,t){var s=!1;Z(e,0,"",!0,t),N(e,fe,s,t)}function I(t){var s;X.geocode({latLng:t},function(t,n){n==google.maps.GeocoderStatus.OK?(s=M(t),""!==s&&e("#wpsl-search-input").val(s)):K(n)})}function M(e){var t,s,n,o=e[0].address_components.length;for(n=0;o>n;n++)s=e[0].address_components[n].types,(/^postal_code$/.test(s)||/^postal_code_prefix,postal_code$/.test(s))&&(t=e[0].address_components[n].long_name);return t}function N(e,t,s,n){1==wpslSettings.directionRedirect?E(e,function(){P(e,t,s,n)}):P(e,t,s,n)}function E(e,t){X.geocode({latLng:e},function(e,s){s==google.maps.GeocoderStatus.OK?(pe=e[0].formatted_address,t()):K(s)})}function P(t,s,n,o){var l,i,a={},r="",p=!1,d=e("#wpsl-listing-template").html(),w=e("#wpsl-stores ul"),g=wpslSettings.url+"img/ajax-loader.gif";a=R(t,s,n),w.empty().append("<li class='wpsl-preloader'><img src='"+g+"'/>"+wpslLabels.preloader+"</li>"),e.get(wpslSettings.ajaxurl,a,function(s){e(".wpsl-preloader, .no-results").remove(),s.length>0?(e.each(s,function(e){_.extend(s[e],Le),l=new google.maps.LatLng(s[e].lat,s[e].lng),Z(l,s[e].id,s[e],p,o),r+=_.template(d)(s[e])}),e("#wpsl-result-list").off("click",".wpsl-directions"),w.empty(),w.append(r),e("#wpsl-result-list").on("click",".wpsl-directions",function(){return 1!=wpslSettings.directionRedirect?(b(e(this)),!1):void 0}),z(),e("#wpsl-result-list p:empty").remove()):(Z(t,0,"",!0,o),i=T(),w.html("<li class='no-results'>"+i+"</li>")),1==wpslSettings.runFitBounds?H():(ee.setZoom(Number(wpslSettings.zoomLevel)),ee.setCenter(ce[0].position)),1==wpslSettings.resetMap&&(e.isEmptyObject(ue)&&google.maps.event.addListenerOnce(ee,"tilesloaded",function(){ue={centerLatlng:ee.getCenter(),zoomLevel:ee.getZoom()},e("#wpsl-map-controls").addClass("wpsl-reset-exists"),e(".wpsl-icon-reset, #wpsl-reset-map").show()}),e(".wpsl-icon-reset").removeClass("wpsl-in-progress"))}),1!=wpslSettings.mouseFocus||c()||e("#wpsl-search-input").focus()}function R(t,s,n){var o,l,i,a,r,p="",d=e("#wpsl-wrap").hasClass("wpsl-mobile"),c=e("#wpsl-wrap").hasClass("wpsl-default-filters"),w={action:"store_search",lat:t.lat(),lng:t.lng()};return s?(w.max_results=wpslSettings.maxResults,w.search_radius=wpslSettings.searchRadius):(d||c?(o=parseInt(e("#wpsl-results .wpsl-dropdown").val()),l=parseInt(e("#wpsl-radius .wpsl-dropdown").val())):(o=parseInt(e("#wpsl-results .wpsl-selected-item").attr("data-value")),l=parseInt(e("#wpsl-radius .wpsl-selected-item").attr("data-value"))),isNaN(o)?w.max_results=wpslSettings.maxResults:w.max_results=o,isNaN(l)?w.search_radius=wpslSettings.searchRadius:w.search_radius=l,"undefined"!=typeof wpslSettings.categoryIds?w.filter=wpslSettings.categoryIds:e("#wpsl-category").length>0?(p=d||c?parseInt(e("#wpsl-category .wpsl-dropdown").val()):parseInt(e("#wpsl-category .wpsl-selected-item").attr("data-value")),isNaN(p)||0===p||(w.filter=p)):e("#wpsl-checkbox-filter").length>0&&e("#wpsl-checkbox-filter input:checked").length>0&&(w.filter=U()),e(".wpsl-custom-dropdown").length>0&&e(".wpsl-custom-dropdown").each(function(t){i="",a="",d||c?(i=e(this).attr("name"),a=e(this).val()):(i=e(this).attr("name"),a=e(this).next(".wpsl-selected-item").attr("data-value")),i&&a&&(w[i]=a)}),e(".wpsl-custom-checkboxes").length>0&&e(".wpsl-custom-checkboxes").each(function(t){r=e(this).attr("data-name"),r&&(w[r]=O(r))})),1==n&&("undefined"!=typeof ne?w.skip_cache=1:(w.autoload=1,"undefined"!=typeof wpslSettings.categoryIds&&(w.filter=wpslSettings.categoryIds))),"undefined"!=typeof wpslSettings.collectStatistics&&0==n&&(w.search=e("#wpsl-search-input").val()),w}function O(t){var s=e("[data-name="+t+"]"),n=[];return e(s).find("input:checked").each(function(t){n.push(e(this).val())}),n.join()}function T(){var e;return e="undefined"!=typeof wpslSettings.noResults&&""!==wpslSettings.noResults?wpslSettings.noResults:wpslLabels.noResults}function U(){var t=e("#wpsl-checkbox-filter input:checked").map(function(){return e(this).val()});return t=t.get(),t=t.join(",")}function z(){if(1==wpslSettings.markerClusters){var e,t,s=Number(wpslSettings.clusterZoom),n=Number(wpslSettings.clusterSize);isNaN(s)&&(s=""),isNaN(n)&&(n=""),"undefined"!=typeof wpslSettings.excludeStartFromCluster&&1==wpslSettings.excludeStartFromCluster&&(t=ce.slice(0),t.splice(0,1)),e="undefined"==typeof t?ce:t,ae=new MarkerClusterer(ee,e,{gridSize:n,maxZoom:s})}}function Z(e,t,s,n,o){var l,i,a,r=!0;0===t?(s={store:wpslLabels.startPoint},l=we.url+wpslSettings.startMarker):l="undefined"!=typeof s.alternateMarkerUrl&&s.alternateMarkerUrl?s.alternateMarkerUrl:"undefined"!=typeof s.categoryMarkerUrl&&s.categoryMarkerUrl?s.categoryMarkerUrl:we.url+wpslSettings.storeMarker,i={url:l,scaledSize:new google.maps.Size(Number(we.scaledSize[0]),Number(we.scaledSize[1])),origin:new google.maps.Point(Number(we.origin[0]),Number(we.origin[1])),anchor:new google.maps.Point(Number(we.anchor[0]),Number(we.anchor[1]))},a=new google.maps.Marker({position:e,map:ee,optimized:!1,title:B(s.store),draggable:n,storeId:t,icon:i}),ce.push(a),google.maps.event.addListener(a,"click",function(n){return function(){0!=t?"undefined"!=typeof wpslSettings.markerStreetView&&1==wpslSettings.markerStreetView?j(e,function(){$(a,G(s),o,n)}):$(a,G(s),o,n):$(a,wpslLabels.startPoint,o,n),google.maps.event.clearListeners(o,"domready"),google.maps.event.addListener(o,"domready",function(){V(a,n),A()})}}(ee)),n&&google.maps.event.addListener(a,"dragend",function(e){F(r),ee.setCenter(e.latLng),I(e.latLng),N(e.latLng,fe,he=!1,o)})}function B(e){return e?e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(t)}):void 0}function $(e,t,s,n){de.length=0,s.setContent(t),s.open(n,e),de.push(s),"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&1==wpslSettings.markerClusters&&(le=e.storeId,s.setVisible(!0))}function V(t,s){e(".wpsl-info-actions a").on("click",function(n){var o=Number(wpslSettings.autoZoomLevel);if(n.stopImmediatePropagation(),e(this).hasClass("wpsl-directions")){if(1==wpslSettings.directionRedirect)return!0;b(e(this))}else e(this).hasClass("wpsl-streetview")?W(t,s):e(this).hasClass("wpsl-zoom-here")&&(s.setCenter(t.getPosition()),s.setZoom(o));return!1})}function A(){var t=ee.getZoom();t>=wpslSettings.autoZoomLevel?e(".wpsl-zoom-here").hide():e(".wpsl-zoom-here").show()}function W(t,s){var n=s.getStreetView();n.setPosition(t.getPosition()),n.setVisible(!0),e("#wpsl-map-controls").hide(),D(n,s)}function D(t,s){google.maps.event.addListener(t,"visible_changed",function(){if(!t.getVisible()){var n=s.getZoom();e("#wpsl-map-controls").show(),s.setZoom(n-1),s.setZoom(n)}})}function j(e,t){var s=new google.maps.StreetViewService;s.getPanoramaByLocation(e,50,function(e,s){me=s==google.maps.StreetViewStatus.OK?!0:!1,t()})}function G(t){var s,n;return n=e("#wpsl-base-gmap_0").length?e("#wpsl-cpt-info-window-template").html():e("#wpsl-info-window-template").html(),s=_.template(n)(t)}function H(){var e,t,s=Number(wpslSettings.autoZoomLevel),n=new google.maps.LatLngBounds;for(google.maps.event.addListenerOnce(ee,"bounds_changed",function(e){this.getZoom()>s&&this.setZoom(s)}),e=0,t=ce.length;t>e;e++)n.extend(ce[e].position);ee.fitBounds(n)}function F(e){var t,s;if(te.setMap(null),ce){for(s=0,t=ce.length;t>s;s++)e?1!=ce[s].draggable?ce[s].setMap(null):re=ce[s]:ce[s].setMap(null);ce.length=0}ae&&ae.clearMarkers()}function K(e){var t;switch(e){case"ZERO_RESULTS":t=wpslLabels.noResults;break;case"OVER_QUERY_LIMIT":t=wpslLabels.queryLimit;break;default:t=wpslLabels.generalError}alert(t)}function q(e){var t;switch(e){case"NOT_FOUND":case"ZERO_RESULTS":t=wpslLabels.noDirectionsFound;break;case"OVER_QUERY_LIMIT":t=wpslLabels.queryLimit;break;default:t=wpslLabels.generalError}alert(t)}function Q(){var t=Number(wpslSettings.maxDropdownHeight);e(".wpsl-dropdown").each(function(s){var n,o,l=e(this);l.$dropdownWrap=l.wrap("<div class='wpsl-dropdown'></div>").parent(),l.$selectedVal=l.val(),l.$dropdownElem=e("<div><ul/></div>").appendTo(l.$dropdownWrap),l.$dropdown=l.$dropdownElem.find("ul"),l.$options=l.$dropdownWrap.find("option"),l.hide().removeClass("wpsl-dropdown"),e.each(l.$options,function(){n=e(this).val()==l.$selectedVal?'class="wpsl-selected-dropdown"':"",l.$dropdown.append("<li data-value="+e(this).val()+" "+n+">"+e(this).text()+"</li>")}),l.$dropdownElem.before("<span data-value="+l.find(":selected").val()+" class='wpsl-selected-item'>"+l.find(":selected").text()+"</span>"),l.$dropdownItem=l.$dropdownElem.find("li"),l.$dropdownWrap.on("click",function(s){return e(this).hasClass("wpsl-active")?void e(this).removeClass("wpsl-active"):(Y(),e(this).toggleClass("wpsl-active"),o=0,e(this).hasClass("wpsl-active")?(l.$dropdownItem.each(function(t){o+=e(this).outerHeight()}),l.$dropdownElem.css("height",o+2+"px")):l.$dropdownElem.css("height",0),o>t&&(e(this).addClass("wpsl-scroll-required"),l.$dropdownElem.css("height",t+"px")),void s.stopPropagation())}),l.$dropdownItem.on("click",function(t){l.$dropdownWrap.find(e(".wpsl-selected-item")).html(e(this).text()).attr("data-value",e(this).attr("data-value")),l.$dropdownItem.removeClass("wpsl-selected-dropdown"),e(this).addClass("wpsl-selected-dropdown"),Y(),t.stopPropagation()})}),e(document).click(function(){Y()})}function Y(){e(".wpsl-dropdown").removeClass("wpsl-active"),e(".wpsl-dropdown div").css("height",0)}function J(){e(".wpsl-search").hasClass("wpsl-widget")&&(e("#wpsl-search-btn").trigger("click"),e(".wpsl-search").removeClass("wpsl-widget"))}var X,ee,te,se,ne,oe,le,ie,ae,re,pe,de=[],ce=[],we={},ge={},ue={},fe=!1,me=!1,he="undefined"!=typeof wpslSettings?wpslSettings.autoLoad:"";if(_.templateSettings={evaluate:/\<\%(.+?)\%\>/g,interpolate:/\<\%=(.+?)\%\>/g,escape:/\<\%-(.+?)\%\>/g},e(".wpsl-gmap-canvas").length&&(e("<img />").attr("src",wpslSettings.url+"img/ajax-loader.gif"),e(".wpsl-gmap-canvas").each(function(s){var n=e(this).attr("id");t(n,s)})),e("#wpsl-result-list").on("click",".wpsl-back",function(){var t,s;for(te.setMap(null),t=0,s=ce.length;s>t;t++)ce[t].setMap(ee);return"undefined"!=typeof re&&""!==re&&re.setMap(ee),ae&&z(),ee.setCenter(ge.centerLatlng),ee.setZoom(ge.zoomLevel),e(".wpsl-direction-before, .wpsl-direction-after").remove(),e("#wpsl-stores").show(),e("#wpsl-direction-details").hide(),!1}),e("#wpsl-gmap").length&&("bounce"==wpslSettings.markerEffect?(e("#wpsl-stores").on("mouseenter","li",function(){C(e(this).data("store-id"),"start")}),e("#wpsl-stores").on("mouseleave","li",function(){C(e(this).data("store-id"),"stop")})):"info_window"==wpslSettings.markerEffect&&e("#wpsl-stores").on("mouseenter","li",function(){var t,s;for(t=0,s=ce.length;s>t;t++)ce[t].storeId==e(this).data("store-id")&&(google.maps.event.trigger(ce[t],"click"),ee.setCenter(ce[t].position))})),"undefined"!=typeof wpslSettings.infoWindowStyle&&"infobox"==wpslSettings.infoWindowStyle&&1==wpslSettings.markerClusters){var ve,Se,ye,be,Ce;google.maps.event.addListener(ee,"zoom_changed",function(){google.maps.event.addListenerOnce(ee,"idle",function(){if("undefined"!=typeof ae&&(ve=ae.clusters_,ve.length))for(be=0,Se=ve.length;Se>be;be++)for(Ce=0,ye=ve[be].markers_.length;ye>Ce;Ce++)if(ve[be].markers_[Ce].storeId==le){ie.getVisible()&&null===ve[be].markers_[Ce].map?ie.setVisible(!1):ie.getVisible()||null===ve[be].markers_[Ce].map||ie.setVisible(!0);break}})})}var Le={formatPhoneNumber:function(e){return 1==wpslSettings.phoneUrl&&c()&&(e="<a href='tel:"+Le.formatClickablePhoneNumber(e)+"'>"+e+"</a>"),e},formatClickablePhoneNumber:function(e){return-1!=e.indexOf("+")&&-1!=e.indexOf("(0)")&&(e=e.replace("(0)","")),e.replace(/(-| |\(|\)|\.|)/g,"")},createInfoWindowActions:function(t){var s,n="",o="";return e("#wpsl-gmap").length&&(me&&(n="<a class='wpsl-streetview' href='#'>"+wpslLabels.streetView+"</a>"),1==wpslSettings.markerZoomTo&&(o="<a class='wpsl-zoom-here' href='#'>"+wpslLabels.zoomHere+"</a>"),s="<div class='wpsl-info-actions'>"+Le.createDirectionUrl(t)+n+o+"</div>"),s},createDirectionUrl:function(t){var s,n,o,l={};return 1==wpslSettings.directionRedirect?("undefined"==typeof pe&&(pe=""),l.target="target='_blank'","undefined"!=typeof t?l.src=e("[data-store-id="+t+"] .wpsl-directions").attr("href"):(o=this.zip?this.zip+", ":"",n=this.address+", "+this.city+", "+o+this.country,l.src="https://maps.google.com/maps?saddr="+Le.rfc3986EncodeURIComponent(pe)+"&daddr="+Le.rfc3986EncodeURIComponent(n))):l={src:"#",target:""},s="<a class='wpsl-directions' "+l.target+" href='"+l.src+"'>"+wpslLabels.directions+"</a>"},rfc3986EncodeURIComponent:function(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)}};if(e("#wpsl-stores").on("click",".wpsl-store-details",function(){var t,s,n=e(this).parents("li"),o=n.data("store-id");if("info window"==wpslSettings.moreInfoLocation)for(t=0,s=ce.length;s>t;t++)ce[t].storeId==o&&google.maps.event.trigger(ce[t],"click");else n.find(".wpsl-more-info-listings").is(":visible")?e(this).removeClass("wpsl-active-details"):e(this).addClass("wpsl-active-details"),n.siblings().find(".wpsl-store-details").removeClass("wpsl-active-details"),n.siblings().find(".wpsl-more-info-listings").hide(),n.find(".wpsl-more-info-listings").toggle();return"default"!=wpslSettings.templateId||"store listings"==wpslSettings.moreInfoLocation?!1:void 0}),e("a[href='#"+wpslSettings.mapTabAnchor+"']").length){var ke,xe,Ie=Number(wpslSettings.mapTabAnchorReturn)?!0:!1,_e=e("a[href='#"+wpslSettings.mapTabAnchor+"']");_e.on("click",function(){return setTimeout(function(){ke=ee.getZoom(),xe=ee.getCenter(),google.maps.event.trigger(ee,"resize"),ee.setZoom(ke),ee.setCenter(xe),H()},50),Ie})}});
languages/wpsl.pot CHANGED
@@ -1,9 +1,9 @@
1
  #, fuzzy
2
  msgid ""
3
  msgstr ""
4
- "Project-Id-Version: WP Store Locator v2.2.8\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2017-04-29 14:48+0800\n"
7
  "PO-Revision-Date: 2015-09-01 13:49+0100\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
@@ -57,7 +57,7 @@ msgstr ""
57
  msgid "Geocode was not successful for the following reason"
58
  msgstr ""
59
 
60
- #: admin/class-admin.php:295 admin/upgrade.php:446
61
  msgid "Security check failed, reload the page and try again."
62
  msgstr ""
63
 
@@ -219,9 +219,9 @@ msgstr ""
219
  msgid "Opening Hours"
220
  msgstr ""
221
 
222
- #: admin/class-metaboxes.php:82 admin/templates/map-settings.php:534
223
- #: admin/templates/map-settings.php:535 frontend/underscore-functions.php:160
224
- #: inc/wpsl-functions.php:149
225
  msgid "Hours"
226
  msgstr ""
227
 
@@ -233,24 +233,24 @@ msgstr ""
233
  msgid "Tel"
234
  msgstr ""
235
 
236
- #: admin/class-metaboxes.php:91 admin/templates/map-settings.php:522
237
- #: admin/templates/map-settings.php:523 frontend/class-frontend.php:808
238
  #: frontend/underscore-functions.php:32 frontend/underscore-functions.php:68
239
- #: frontend/underscore-functions.php:150 inc/wpsl-functions.php:146
240
  msgid "Fax"
241
  msgstr ""
242
 
243
- #: admin/class-metaboxes.php:94 admin/templates/map-settings.php:526
244
- #: admin/templates/map-settings.php:527 admin/upgrade.php:198
245
  #: frontend/class-frontend.php:812 frontend/underscore-functions.php:35
246
  #: frontend/underscore-functions.php:71 frontend/underscore-functions.php:153
247
- #: inc/wpsl-functions.php:147
248
  msgid "Email"
249
  msgstr ""
250
 
251
- #: admin/class-metaboxes.php:97 admin/templates/map-settings.php:530
252
- #: admin/templates/map-settings.php:531 admin/upgrade.php:202
253
- #: frontend/class-frontend.php:817 inc/wpsl-functions.php:148
254
  msgid "Url"
255
  msgstr ""
256
 
@@ -339,17 +339,17 @@ msgstr ""
339
  msgid "WP Store Locator Transients Cleared"
340
  msgstr ""
341
 
342
- #: admin/class-settings.php:402
343
  msgid ""
344
  "The max results field cannot be empty, the default value has been restored."
345
  msgstr ""
346
 
347
- #: admin/class-settings.php:405
348
  msgid ""
349
  "The search radius field cannot be empty, the default value has been restored."
350
  msgstr ""
351
 
352
- #: admin/class-settings.php:408
353
  #, php-format
354
  msgid ""
355
  "Please provide the name of a city or country that can be used as a starting "
@@ -357,1296 +357,1296 @@ msgid ""
357
  "user fails, or the option itself is disabled."
358
  msgstr ""
359
 
360
- #: admin/class-settings.php:429
361
  msgid "Select your language"
362
  msgstr ""
363
 
364
- #: admin/class-settings.php:430
365
  msgid "English"
366
  msgstr ""
367
 
368
- #: admin/class-settings.php:431
369
  msgid "Arabic"
370
  msgstr ""
371
 
372
- #: admin/class-settings.php:432
373
  msgid "Basque"
374
  msgstr ""
375
 
376
- #: admin/class-settings.php:433
377
  msgid "Bulgarian"
378
  msgstr ""
379
 
380
- #: admin/class-settings.php:434
381
  msgid "Bengali"
382
  msgstr ""
383
 
384
- #: admin/class-settings.php:435
385
  msgid "Catalan"
386
  msgstr ""
387
 
388
- #: admin/class-settings.php:436
389
  msgid "Czech"
390
  msgstr ""
391
 
392
- #: admin/class-settings.php:437
393
  msgid "Danish"
394
  msgstr ""
395
 
396
- #: admin/class-settings.php:438
397
  msgid "German"
398
  msgstr ""
399
 
400
- #: admin/class-settings.php:439
401
  msgid "Greek"
402
  msgstr ""
403
 
404
- #: admin/class-settings.php:440
405
  msgid "English (Australian)"
406
  msgstr ""
407
 
408
- #: admin/class-settings.php:441
409
  msgid "English (Great Britain)"
410
  msgstr ""
411
 
412
- #: admin/class-settings.php:442
413
  msgid "Spanish"
414
  msgstr ""
415
 
416
- #: admin/class-settings.php:443
417
  msgid "Farsi"
418
  msgstr ""
419
 
420
- #: admin/class-settings.php:444
421
  msgid "Finnish"
422
  msgstr ""
423
 
424
- #: admin/class-settings.php:445
425
  msgid "Filipino"
426
  msgstr ""
427
 
428
- #: admin/class-settings.php:446
429
  msgid "French"
430
  msgstr ""
431
 
432
- #: admin/class-settings.php:447
433
  msgid "Galician"
434
  msgstr ""
435
 
436
- #: admin/class-settings.php:448
437
  msgid "Gujarati"
438
  msgstr ""
439
 
440
- #: admin/class-settings.php:449
441
  msgid "Hindi"
442
  msgstr ""
443
 
444
- #: admin/class-settings.php:450
445
  msgid "Croatian"
446
  msgstr ""
447
 
448
- #: admin/class-settings.php:451
449
  msgid "Hungarian"
450
  msgstr ""
451
 
452
- #: admin/class-settings.php:452
453
  msgid "Indonesian"
454
  msgstr ""
455
 
456
- #: admin/class-settings.php:453
457
  msgid "Italian"
458
  msgstr ""
459
 
460
- #: admin/class-settings.php:454
461
  msgid "Hebrew"
462
  msgstr ""
463
 
464
- #: admin/class-settings.php:455
465
  msgid "Japanese"
466
  msgstr ""
467
 
468
- #: admin/class-settings.php:456
469
  msgid "Kannada"
470
  msgstr ""
471
 
472
- #: admin/class-settings.php:457
473
  msgid "Korean"
474
  msgstr ""
475
 
476
- #: admin/class-settings.php:458
477
  msgid "Lithuanian"
478
  msgstr ""
479
 
480
- #: admin/class-settings.php:459
481
  msgid "Latvian"
482
  msgstr ""
483
 
484
- #: admin/class-settings.php:460
485
  msgid "Malayalam"
486
  msgstr ""
487
 
488
- #: admin/class-settings.php:461
489
  msgid "Marathi"
490
  msgstr ""
491
 
492
- #: admin/class-settings.php:462
493
  msgid "Dutch"
494
  msgstr ""
495
 
496
- #: admin/class-settings.php:463
497
  msgid "Norwegian"
498
  msgstr ""
499
 
500
- #: admin/class-settings.php:464
501
  msgid "Norwegian Nynorsk"
502
  msgstr ""
503
 
504
- #: admin/class-settings.php:465
505
  msgid "Polish"
506
  msgstr ""
507
 
508
- #: admin/class-settings.php:466
509
  msgid "Portuguese"
510
  msgstr ""
511
 
512
- #: admin/class-settings.php:467
513
  msgid "Portuguese (Brazil)"
514
  msgstr ""
515
 
516
- #: admin/class-settings.php:468
517
  msgid "Portuguese (Portugal)"
518
  msgstr ""
519
 
520
- #: admin/class-settings.php:469
521
  msgid "Romanian"
522
  msgstr ""
523
 
524
- #: admin/class-settings.php:470
525
  msgid "Russian"
526
  msgstr ""
527
 
528
- #: admin/class-settings.php:471
529
  msgid "Slovak"
530
  msgstr ""
531
 
532
- #: admin/class-settings.php:472
533
  msgid "Slovenian"
534
  msgstr ""
535
 
536
- #: admin/class-settings.php:473
537
  msgid "Serbian"
538
  msgstr ""
539
 
540
- #: admin/class-settings.php:474
541
  msgid "Swedish"
542
  msgstr ""
543
 
544
- #: admin/class-settings.php:475
545
  msgid "Tagalog"
546
  msgstr ""
547
 
548
- #: admin/class-settings.php:476
549
  msgid "Tamil"
550
  msgstr ""
551
 
552
- #: admin/class-settings.php:477
553
  msgid "Telugu"
554
  msgstr ""
555
 
556
- #: admin/class-settings.php:478
557
  msgid "Thai"
558
  msgstr ""
559
 
560
- #: admin/class-settings.php:479
561
  msgid "Turkish"
562
  msgstr ""
563
 
564
- #: admin/class-settings.php:480
565
  msgid "Ukrainian"
566
  msgstr ""
567
 
568
- #: admin/class-settings.php:481
569
  msgid "Vietnamese"
570
  msgstr ""
571
 
572
- #: admin/class-settings.php:482
573
  msgid "Chinese (Simplified)"
574
  msgstr ""
575
 
576
- #: admin/class-settings.php:483
577
  msgid "Chinese (Traditional)"
578
  msgstr ""
579
 
580
- #: admin/class-settings.php:488
581
  msgid "Select your region"
582
  msgstr ""
583
 
584
- #: admin/class-settings.php:489
585
  msgid "Afghanistan"
586
  msgstr ""
587
 
588
- #: admin/class-settings.php:490
589
  msgid "Albania"
590
  msgstr ""
591
 
592
- #: admin/class-settings.php:491
593
  msgid "Algeria"
594
  msgstr ""
595
 
596
- #: admin/class-settings.php:492
597
  msgid "American Samoa"
598
  msgstr ""
599
 
600
- #: admin/class-settings.php:493
601
  msgid "Andorra"
602
  msgstr ""
603
 
604
- #: admin/class-settings.php:494
605
  msgid "Angola"
606
  msgstr ""
607
 
608
- #: admin/class-settings.php:495
609
  msgid "Anguilla"
610
  msgstr ""
611
 
612
- #: admin/class-settings.php:496
613
  msgid "Antarctica"
614
  msgstr ""
615
 
616
- #: admin/class-settings.php:497
617
  msgid "Antigua and Barbuda"
618
  msgstr ""
619
 
620
- #: admin/class-settings.php:498
621
  msgid "Argentina"
622
  msgstr ""
623
 
624
- #: admin/class-settings.php:499
625
  msgid "Armenia"
626
  msgstr ""
627
 
628
- #: admin/class-settings.php:500
629
  msgid "Aruba"
630
  msgstr ""
631
 
632
- #: admin/class-settings.php:501
633
  msgid "Ascension Island"
634
  msgstr ""
635
 
636
- #: admin/class-settings.php:502
637
  msgid "Australia"
638
  msgstr ""
639
 
640
- #: admin/class-settings.php:503
641
  msgid "Austria"
642
  msgstr ""
643
 
644
- #: admin/class-settings.php:504
645
  msgid "Azerbaijan"
646
  msgstr ""
647
 
648
- #: admin/class-settings.php:505
649
  msgid "Bahamas"
650
  msgstr ""
651
 
652
- #: admin/class-settings.php:506
653
  msgid "Bahrain"
654
  msgstr ""
655
 
656
- #: admin/class-settings.php:507
657
  msgid "Bangladesh"
658
  msgstr ""
659
 
660
- #: admin/class-settings.php:508
661
  msgid "Barbados"
662
  msgstr ""
663
 
664
- #: admin/class-settings.php:509
665
  msgid "Belarus"
666
  msgstr ""
667
 
668
- #: admin/class-settings.php:510
669
  msgid "Belgium"
670
  msgstr ""
671
 
672
- #: admin/class-settings.php:511
673
  msgid "Belize"
674
  msgstr ""
675
 
676
- #: admin/class-settings.php:512
677
  msgid "Benin"
678
  msgstr ""
679
 
680
- #: admin/class-settings.php:513
681
  msgid "Bermuda"
682
  msgstr ""
683
 
684
- #: admin/class-settings.php:514
685
  msgid "Bhutan"
686
  msgstr ""
687
 
688
- #: admin/class-settings.php:515
689
  msgid "Bolivia"
690
  msgstr ""
691
 
692
- #: admin/class-settings.php:516
693
  msgid "Bosnia and Herzegovina"
694
  msgstr ""
695
 
696
- #: admin/class-settings.php:517
697
  msgid "Botswana"
698
  msgstr ""
699
 
700
- #: admin/class-settings.php:518
701
  msgid "Bouvet Island"
702
  msgstr ""
703
 
704
- #: admin/class-settings.php:519
705
  msgid "Brazil"
706
  msgstr ""
707
 
708
- #: admin/class-settings.php:520
709
  msgid "British Indian Ocean Territory"
710
  msgstr ""
711
 
712
- #: admin/class-settings.php:521
713
  msgid "British Virgin Islands"
714
  msgstr ""
715
 
716
- #: admin/class-settings.php:522
717
  msgid "Brunei"
718
  msgstr ""
719
 
720
- #: admin/class-settings.php:523
721
  msgid "Bulgaria"
722
  msgstr ""
723
 
724
- #: admin/class-settings.php:524
725
  msgid "Burkina Faso"
726
  msgstr ""
727
 
728
- #: admin/class-settings.php:525
729
  msgid "Burundi"
730
  msgstr ""
731
 
732
- #: admin/class-settings.php:526
733
  msgid "Cambodia"
734
  msgstr ""
735
 
736
- #: admin/class-settings.php:527
737
  msgid "Cameroon"
738
  msgstr ""
739
 
740
- #: admin/class-settings.php:528
741
  msgid "Canada"
742
  msgstr ""
743
 
744
- #: admin/class-settings.php:529
745
  msgid "Canary Islands"
746
  msgstr ""
747
 
748
- #: admin/class-settings.php:530
749
  msgid "Cape Verde"
750
  msgstr ""
751
 
752
- #: admin/class-settings.php:531
753
  msgid "Caribbean Netherlands"
754
  msgstr ""
755
 
756
- #: admin/class-settings.php:532
757
  msgid "Cayman Islands"
758
  msgstr ""
759
 
760
- #: admin/class-settings.php:533
761
  msgid "Central African Republic"
762
  msgstr ""
763
 
764
- #: admin/class-settings.php:534
765
  msgid "Ceuta and Melilla"
766
  msgstr ""
767
 
768
- #: admin/class-settings.php:535
769
  msgid "Chad"
770
  msgstr ""
771
 
772
- #: admin/class-settings.php:536
773
  msgid "Chile"
774
  msgstr ""
775
 
776
- #: admin/class-settings.php:537
777
  msgid "China"
778
  msgstr ""
779
 
780
- #: admin/class-settings.php:538
781
  msgid "Christmas Island"
782
  msgstr ""
783
 
784
- #: admin/class-settings.php:539
785
  msgid "Clipperton Island"
786
  msgstr ""
787
 
788
- #: admin/class-settings.php:540
789
  msgid "Cocos (Keeling) Islands"
790
  msgstr ""
791
 
792
- #: admin/class-settings.php:541
793
  msgid "Colombia"
794
  msgstr ""
795
 
796
- #: admin/class-settings.php:542
797
  msgid "Comoros"
798
  msgstr ""
799
 
800
- #: admin/class-settings.php:543
801
  msgid "Congo (DRC"
802
  msgstr ""
803
 
804
- #: admin/class-settings.php:544
805
  msgid "Congo (Republic)"
806
  msgstr ""
807
 
808
- #: admin/class-settings.php:545
809
  msgid "Cook Islands"
810
  msgstr ""
811
 
812
- #: admin/class-settings.php:546
813
  msgid "Costa Rica"
814
  msgstr ""
815
 
816
- #: admin/class-settings.php:547
817
  msgid "Croatia"
818
  msgstr ""
819
 
820
- #: admin/class-settings.php:548
821
  msgid "Cuba"
822
  msgstr ""
823
 
824
- #: admin/class-settings.php:549
825
  msgid "Curaçao"
826
  msgstr ""
827
 
828
- #: admin/class-settings.php:550
829
  msgid "Cyprus"
830
  msgstr ""
831
 
832
- #: admin/class-settings.php:551
833
  msgid "Czech Republic"
834
  msgstr ""
835
 
836
- #: admin/class-settings.php:552
837
  msgid "Côte d'Ivoire"
838
  msgstr ""
839
 
840
- #: admin/class-settings.php:553
841
  msgid "Denmark"
842
  msgstr ""
843
 
844
- #: admin/class-settings.php:554
845
  msgid "Djibouti"
846
  msgstr ""
847
 
848
- #: admin/class-settings.php:555
849
  msgid "Democratic Republic of the Congo"
850
  msgstr ""
851
 
852
- #: admin/class-settings.php:556
853
  msgid "Dominica"
854
  msgstr ""
855
 
856
- #: admin/class-settings.php:557
857
  msgid "Dominican Republic"
858
  msgstr ""
859
 
860
- #: admin/class-settings.php:558
861
  msgid "Ecuador"
862
  msgstr ""
863
 
864
- #: admin/class-settings.php:559
865
  msgid "Egypt"
866
  msgstr ""
867
 
868
- #: admin/class-settings.php:560
869
  msgid "El Salvador"
870
  msgstr ""
871
 
872
- #: admin/class-settings.php:561
873
  msgid "Equatorial Guinea"
874
  msgstr ""
875
 
876
- #: admin/class-settings.php:562
877
  msgid "Eritrea"
878
  msgstr ""
879
 
880
- #: admin/class-settings.php:563
881
  msgid "Estonia"
882
  msgstr ""
883
 
884
- #: admin/class-settings.php:564
885
  msgid "Ethiopia"
886
  msgstr ""
887
 
888
- #: admin/class-settings.php:565
889
  msgid "Falkland Islands(Islas Malvinas)"
890
  msgstr ""
891
 
892
- #: admin/class-settings.php:566
893
  msgid "Faroe Islands"
894
  msgstr ""
895
 
896
- #: admin/class-settings.php:567
897
  msgid "Fiji"
898
  msgstr ""
899
 
900
- #: admin/class-settings.php:568
901
  msgid "Finland"
902
  msgstr ""
903
 
904
- #: admin/class-settings.php:569
905
  msgid "France"
906
  msgstr ""
907
 
908
- #: admin/class-settings.php:570
909
  msgid "French Guiana"
910
  msgstr ""
911
 
912
- #: admin/class-settings.php:571
913
  msgid "French Polynesia"
914
  msgstr ""
915
 
916
- #: admin/class-settings.php:572
917
  msgid "French Southern Territories"
918
  msgstr ""
919
 
920
- #: admin/class-settings.php:573
921
  msgid "Gabon"
922
  msgstr ""
923
 
924
- #: admin/class-settings.php:574
925
  msgid "Gambia"
926
  msgstr ""
927
 
928
- #: admin/class-settings.php:575
929
  msgid "Georgia"
930
  msgstr ""
931
 
932
- #: admin/class-settings.php:576
933
  msgid "Germany"
934
  msgstr ""
935
 
936
- #: admin/class-settings.php:577
937
  msgid "Ghana"
938
  msgstr ""
939
 
940
- #: admin/class-settings.php:578
941
  msgid "Gibraltar"
942
  msgstr ""
943
 
944
- #: admin/class-settings.php:579
945
  msgid "Greece"
946
  msgstr ""
947
 
948
- #: admin/class-settings.php:580
949
  msgid "Greenland"
950
  msgstr ""
951
 
952
- #: admin/class-settings.php:581
953
  msgid "Grenada"
954
  msgstr ""
955
 
956
- #: admin/class-settings.php:582 admin/class-settings.php:584
957
  msgid "Guam"
958
  msgstr ""
959
 
960
- #: admin/class-settings.php:583
961
  msgid "Guadeloupe"
962
  msgstr ""
963
 
964
- #: admin/class-settings.php:585
965
  msgid "Guatemala"
966
  msgstr ""
967
 
968
- #: admin/class-settings.php:586
969
  msgid "Guernsey"
970
  msgstr ""
971
 
972
- #: admin/class-settings.php:587
973
  msgid "Guinea"
974
  msgstr ""
975
 
976
- #: admin/class-settings.php:588
977
  msgid "Guinea-Bissau"
978
  msgstr ""
979
 
980
- #: admin/class-settings.php:589
981
  msgid "Guyana"
982
  msgstr ""
983
 
984
- #: admin/class-settings.php:590
985
  msgid "Haiti"
986
  msgstr ""
987
 
988
- #: admin/class-settings.php:591
989
  msgid "Heard and McDonald Islands"
990
  msgstr ""
991
 
992
- #: admin/class-settings.php:592
993
  msgid "Honduras"
994
  msgstr ""
995
 
996
- #: admin/class-settings.php:593
997
  msgid "Hong Kong"
998
  msgstr ""
999
 
1000
- #: admin/class-settings.php:594
1001
  msgid "Hungary"
1002
  msgstr ""
1003
 
1004
- #: admin/class-settings.php:595
1005
  msgid "Iceland"
1006
  msgstr ""
1007
 
1008
- #: admin/class-settings.php:596
1009
  msgid "India"
1010
  msgstr ""
1011
 
1012
- #: admin/class-settings.php:597
1013
  msgid "Indonesia"
1014
  msgstr ""
1015
 
1016
- #: admin/class-settings.php:598
1017
  msgid "Iran"
1018
  msgstr ""
1019
 
1020
- #: admin/class-settings.php:599
1021
  msgid "Iraq"
1022
  msgstr ""
1023
 
1024
- #: admin/class-settings.php:600
1025
  msgid "Ireland"
1026
  msgstr ""
1027
 
1028
- #: admin/class-settings.php:601
1029
  msgid "Isle of Man"
1030
  msgstr ""
1031
 
1032
- #: admin/class-settings.php:602
1033
  msgid "Israel"
1034
  msgstr ""
1035
 
1036
- #: admin/class-settings.php:603
1037
  msgid "Italy"
1038
  msgstr ""
1039
 
1040
- #: admin/class-settings.php:604
1041
  msgid "Jamaica"
1042
  msgstr ""
1043
 
1044
- #: admin/class-settings.php:605
1045
  msgid "Japan"
1046
  msgstr ""
1047
 
1048
- #: admin/class-settings.php:606
1049
  msgid "Jersey"
1050
  msgstr ""
1051
 
1052
- #: admin/class-settings.php:607
1053
  msgid "Jordan"
1054
  msgstr ""
1055
 
1056
- #: admin/class-settings.php:608
1057
  msgid "Kazakhstan"
1058
  msgstr ""
1059
 
1060
- #: admin/class-settings.php:609
1061
  msgid "Kenya"
1062
  msgstr ""
1063
 
1064
- #: admin/class-settings.php:610
1065
  msgid "Kiribati"
1066
  msgstr ""
1067
 
1068
- #: admin/class-settings.php:611
1069
  msgid "Kosovo"
1070
  msgstr ""
1071
 
1072
- #: admin/class-settings.php:612
1073
  msgid "Kuwait"
1074
  msgstr ""
1075
 
1076
- #: admin/class-settings.php:613
1077
  msgid "Kyrgyzstan"
1078
  msgstr ""
1079
 
1080
- #: admin/class-settings.php:614
1081
  msgid "Laos"
1082
  msgstr ""
1083
 
1084
- #: admin/class-settings.php:615
1085
  msgid "Latvia"
1086
  msgstr ""
1087
 
1088
- #: admin/class-settings.php:616
1089
  msgid "Lebanon"
1090
  msgstr ""
1091
 
1092
- #: admin/class-settings.php:617
1093
  msgid "Lesotho"
1094
  msgstr ""
1095
 
1096
- #: admin/class-settings.php:618
1097
  msgid "Liberia"
1098
  msgstr ""
1099
 
1100
- #: admin/class-settings.php:619
1101
  msgid "Libya"
1102
  msgstr ""
1103
 
1104
- #: admin/class-settings.php:620
1105
  msgid "Liechtenstein"
1106
  msgstr ""
1107
 
1108
- #: admin/class-settings.php:621
1109
  msgid "Lithuania"
1110
  msgstr ""
1111
 
1112
- #: admin/class-settings.php:622
1113
  msgid "Luxembourg"
1114
  msgstr ""
1115
 
1116
- #: admin/class-settings.php:623
1117
  msgid "Macau"
1118
  msgstr ""
1119
 
1120
- #: admin/class-settings.php:624
1121
  msgid "Macedonia (FYROM)"
1122
  msgstr ""
1123
 
1124
- #: admin/class-settings.php:625
1125
  msgid "Madagascar"
1126
  msgstr ""
1127
 
1128
- #: admin/class-settings.php:626
1129
  msgid "Malawi"
1130
  msgstr ""
1131
 
1132
- #: admin/class-settings.php:627
1133
  msgid "Malaysia "
1134
  msgstr ""
1135
 
1136
- #: admin/class-settings.php:628
1137
  msgid "Maldives "
1138
  msgstr ""
1139
 
1140
- #: admin/class-settings.php:629
1141
  msgid "Mali"
1142
  msgstr ""
1143
 
1144
- #: admin/class-settings.php:630
1145
  msgid "Malta"
1146
  msgstr ""
1147
 
1148
- #: admin/class-settings.php:631
1149
  msgid "Marshall Islands"
1150
  msgstr ""
1151
 
1152
- #: admin/class-settings.php:632
1153
  msgid "Martinique"
1154
  msgstr ""
1155
 
1156
- #: admin/class-settings.php:633
1157
  msgid "Mauritania"
1158
  msgstr ""
1159
 
1160
- #: admin/class-settings.php:634
1161
  msgid "Mauritius"
1162
  msgstr ""
1163
 
1164
- #: admin/class-settings.php:635
1165
  msgid "Mayotte"
1166
  msgstr ""
1167
 
1168
- #: admin/class-settings.php:636
1169
  msgid "Mexico"
1170
  msgstr ""
1171
 
1172
- #: admin/class-settings.php:637
1173
  msgid "Micronesia"
1174
  msgstr ""
1175
 
1176
- #: admin/class-settings.php:638
1177
  msgid "Moldova"
1178
  msgstr ""
1179
 
1180
- #: admin/class-settings.php:639
1181
  msgid "Monaco"
1182
  msgstr ""
1183
 
1184
- #: admin/class-settings.php:640
1185
  msgid "Mongolia"
1186
  msgstr ""
1187
 
1188
- #: admin/class-settings.php:641
1189
  msgid "Montenegro"
1190
  msgstr ""
1191
 
1192
- #: admin/class-settings.php:642
1193
  msgid "Montserrat"
1194
  msgstr ""
1195
 
1196
- #: admin/class-settings.php:643
1197
  msgid "Morocco"
1198
  msgstr ""
1199
 
1200
- #: admin/class-settings.php:644
1201
  msgid "Mozambique"
1202
  msgstr ""
1203
 
1204
- #: admin/class-settings.php:645
1205
  msgid "Myanmar (Burma)"
1206
  msgstr ""
1207
 
1208
- #: admin/class-settings.php:646
1209
  msgid "Namibia"
1210
  msgstr ""
1211
 
1212
- #: admin/class-settings.php:647
1213
  msgid "Nauru"
1214
  msgstr ""
1215
 
1216
- #: admin/class-settings.php:648
1217
  msgid "Nepal"
1218
  msgstr ""
1219
 
1220
- #: admin/class-settings.php:649
1221
  msgid "Netherlands"
1222
  msgstr ""
1223
 
1224
- #: admin/class-settings.php:650
1225
  msgid "Netherlands Antilles"
1226
  msgstr ""
1227
 
1228
- #: admin/class-settings.php:651
1229
  msgid "New Caledonia"
1230
  msgstr ""
1231
 
1232
- #: admin/class-settings.php:652
1233
  msgid "New Zealand"
1234
  msgstr ""
1235
 
1236
- #: admin/class-settings.php:653
1237
  msgid "Nicaragua"
1238
  msgstr ""
1239
 
1240
- #: admin/class-settings.php:654
1241
  msgid "Niger"
1242
  msgstr ""
1243
 
1244
- #: admin/class-settings.php:655
1245
  msgid "Nigeria"
1246
  msgstr ""
1247
 
1248
- #: admin/class-settings.php:656
1249
  msgid "Niue"
1250
  msgstr ""
1251
 
1252
- #: admin/class-settings.php:657
1253
  msgid "Norfolk Island"
1254
  msgstr ""
1255
 
1256
- #: admin/class-settings.php:658
1257
  msgid "North Korea"
1258
  msgstr ""
1259
 
1260
- #: admin/class-settings.php:659
1261
  msgid "Northern Mariana Islands"
1262
  msgstr ""
1263
 
1264
- #: admin/class-settings.php:660
1265
  msgid "Norway"
1266
  msgstr ""
1267
 
1268
- #: admin/class-settings.php:661
1269
  msgid "Oman"
1270
  msgstr ""
1271
 
1272
- #: admin/class-settings.php:662
1273
  msgid "Pakistan"
1274
  msgstr ""
1275
 
1276
- #: admin/class-settings.php:663
1277
  msgid "Palau"
1278
  msgstr ""
1279
 
1280
- #: admin/class-settings.php:664
1281
  msgid "Palestine"
1282
  msgstr ""
1283
 
1284
- #: admin/class-settings.php:665
1285
  msgid "Panama"
1286
  msgstr ""
1287
 
1288
- #: admin/class-settings.php:666
1289
  msgid "Papua New Guinea"
1290
  msgstr ""
1291
 
1292
- #: admin/class-settings.php:667
1293
  msgid "Paraguay"
1294
  msgstr ""
1295
 
1296
- #: admin/class-settings.php:668
1297
  msgid "Peru"
1298
  msgstr ""
1299
 
1300
- #: admin/class-settings.php:669
1301
  msgid "Philippines"
1302
  msgstr ""
1303
 
1304
- #: admin/class-settings.php:670
1305
  msgid "Pitcairn Islands"
1306
  msgstr ""
1307
 
1308
- #: admin/class-settings.php:671
1309
  msgid "Poland"
1310
  msgstr ""
1311
 
1312
- #: admin/class-settings.php:672
1313
  msgid "Portugal"
1314
  msgstr ""
1315
 
1316
- #: admin/class-settings.php:673
1317
  msgid "Puerto Rico"
1318
  msgstr ""
1319
 
1320
- #: admin/class-settings.php:674
1321
  msgid "Qatar"
1322
  msgstr ""
1323
 
1324
- #: admin/class-settings.php:675
1325
  msgid "Reunion"
1326
  msgstr ""
1327
 
1328
- #: admin/class-settings.php:676
1329
  msgid "Romania"
1330
  msgstr ""
1331
 
1332
- #: admin/class-settings.php:677
1333
  msgid "Russia"
1334
  msgstr ""
1335
 
1336
- #: admin/class-settings.php:678
1337
  msgid "Rwanda"
1338
  msgstr ""
1339
 
1340
- #: admin/class-settings.php:679
1341
  msgid "Saint Helena"
1342
  msgstr ""
1343
 
1344
- #: admin/class-settings.php:680
1345
  msgid "Saint Kitts and Nevis"
1346
  msgstr ""
1347
 
1348
- #: admin/class-settings.php:681
1349
  msgid "Saint Vincent and the Grenadines"
1350
  msgstr ""
1351
 
1352
- #: admin/class-settings.php:682
1353
  msgid "Saint Lucia"
1354
  msgstr ""
1355
 
1356
- #: admin/class-settings.php:683
1357
  msgid "Samoa"
1358
  msgstr ""
1359
 
1360
- #: admin/class-settings.php:684
1361
  msgid "San Marino"
1362
  msgstr ""
1363
 
1364
- #: admin/class-settings.php:685
1365
  msgid "São Tomé and Príncipe"
1366
  msgstr ""
1367
 
1368
- #: admin/class-settings.php:686
1369
  msgid "Saudi Arabia"
1370
  msgstr ""
1371
 
1372
- #: admin/class-settings.php:687
1373
  msgid "Senegal"
1374
  msgstr ""
1375
 
1376
- #: admin/class-settings.php:688
1377
  msgid "Serbia"
1378
  msgstr ""
1379
 
1380
- #: admin/class-settings.php:689
1381
  msgid "Seychelles"
1382
  msgstr ""
1383
 
1384
- #: admin/class-settings.php:690
1385
  msgid "Sierra Leone"
1386
  msgstr ""
1387
 
1388
- #: admin/class-settings.php:691
1389
  msgid "Singapore"
1390
  msgstr ""
1391
 
1392
- #: admin/class-settings.php:692
1393
  msgid "Sint Maarten"
1394
  msgstr ""
1395
 
1396
- #: admin/class-settings.php:693
1397
  msgid "Slovakia"
1398
  msgstr ""
1399
 
1400
- #: admin/class-settings.php:694
1401
  msgid "Slovenia"
1402
  msgstr ""
1403
 
1404
- #: admin/class-settings.php:695
1405
  msgid "Solomon Islands"
1406
  msgstr ""
1407
 
1408
- #: admin/class-settings.php:696
1409
  msgid "Somalia"
1410
  msgstr ""
1411
 
1412
- #: admin/class-settings.php:697
1413
  msgid "South Africa"
1414
  msgstr ""
1415
 
1416
- #: admin/class-settings.php:698
1417
  msgid "South Georgia and South Sandwich Islands"
1418
  msgstr ""
1419
 
1420
- #: admin/class-settings.php:699
1421
  msgid "South Korea"
1422
  msgstr ""
1423
 
1424
- #: admin/class-settings.php:700
1425
  msgid "South Sudan"
1426
  msgstr ""
1427
 
1428
- #: admin/class-settings.php:701
1429
  msgid "Spain"
1430
  msgstr ""
1431
 
1432
- #: admin/class-settings.php:702
1433
  msgid "Sri Lanka"
1434
  msgstr ""
1435
 
1436
- #: admin/class-settings.php:703
1437
  msgid "Sudan"
1438
  msgstr ""
1439
 
1440
- #: admin/class-settings.php:704
1441
  msgid "Swaziland"
1442
  msgstr ""
1443
 
1444
- #: admin/class-settings.php:705
1445
  msgid "Sweden"
1446
  msgstr ""
1447
 
1448
- #: admin/class-settings.php:706
1449
  msgid "Switzerland"
1450
  msgstr ""
1451
 
1452
- #: admin/class-settings.php:707
1453
  msgid "Syria"
1454
  msgstr ""
1455
 
1456
- #: admin/class-settings.php:708
1457
  msgid "São Tomé & Príncipe"
1458
  msgstr ""
1459
 
1460
- #: admin/class-settings.php:709
1461
  msgid "Taiwan"
1462
  msgstr ""
1463
 
1464
- #: admin/class-settings.php:710
1465
  msgid "Tajikistan"
1466
  msgstr ""
1467
 
1468
- #: admin/class-settings.php:711
1469
  msgid "Tanzania"
1470
  msgstr ""
1471
 
1472
- #: admin/class-settings.php:712
1473
  msgid "Thailand"
1474
  msgstr ""
1475
 
1476
- #: admin/class-settings.php:713
1477
  msgid "Timor-Leste"
1478
  msgstr ""
1479
 
1480
- #: admin/class-settings.php:714 admin/class-settings.php:716
1481
  msgid "Tokelau"
1482
  msgstr ""
1483
 
1484
- #: admin/class-settings.php:715
1485
  msgid "Togo"
1486
  msgstr ""
1487
 
1488
- #: admin/class-settings.php:717
1489
  msgid "Tonga"
1490
  msgstr ""
1491
 
1492
- #: admin/class-settings.php:718
1493
  msgid "Trinidad and Tobago"
1494
  msgstr ""
1495
 
1496
- #: admin/class-settings.php:719
1497
  msgid "Tristan da Cunha"
1498
  msgstr ""
1499
 
1500
- #: admin/class-settings.php:720
1501
  msgid "Tunisia"
1502
  msgstr ""
1503
 
1504
- #: admin/class-settings.php:721
1505
  msgid "Turkey"
1506
  msgstr ""
1507
 
1508
- #: admin/class-settings.php:722
1509
  msgid "Turkmenistan"
1510
  msgstr ""
1511
 
1512
- #: admin/class-settings.php:723
1513
  msgid "Turks and Caicos Islands"
1514
  msgstr ""
1515
 
1516
- #: admin/class-settings.php:724
1517
  msgid "Tuvalu"
1518
  msgstr ""
1519
 
1520
- #: admin/class-settings.php:725
1521
  msgid "Uganda"
1522
  msgstr ""
1523
 
1524
- #: admin/class-settings.php:726
1525
  msgid "Ukraine"
1526
  msgstr ""
1527
 
1528
- #: admin/class-settings.php:727
1529
  msgid "United Arab Emirates"
1530
  msgstr ""
1531
 
1532
- #: admin/class-settings.php:728
1533
  msgid "United Kingdom"
1534
  msgstr ""
1535
 
1536
- #: admin/class-settings.php:729
1537
  msgid "United States"
1538
  msgstr ""
1539
 
1540
- #: admin/class-settings.php:730
1541
  msgid "Uruguay"
1542
  msgstr ""
1543
 
1544
- #: admin/class-settings.php:731
1545
  msgid "Uzbekistan"
1546
  msgstr ""
1547
 
1548
- #: admin/class-settings.php:732
1549
  msgid "Vanuatu"
1550
  msgstr ""
1551
 
1552
- #: admin/class-settings.php:733
1553
  msgid "Vatican City"
1554
  msgstr ""
1555
 
1556
- #: admin/class-settings.php:734
1557
  msgid "Venezuela"
1558
  msgstr ""
1559
 
1560
- #: admin/class-settings.php:735
1561
  msgid "Vietnam"
1562
  msgstr ""
1563
 
1564
- #: admin/class-settings.php:736
1565
  msgid "Wallis Futuna"
1566
  msgstr ""
1567
 
1568
- #: admin/class-settings.php:737
1569
  msgid "Western Sahara"
1570
  msgstr ""
1571
 
1572
- #: admin/class-settings.php:738
1573
  msgid "Yemen"
1574
  msgstr ""
1575
 
1576
- #: admin/class-settings.php:739
1577
  msgid "Zambia"
1578
  msgstr ""
1579
 
1580
- #: admin/class-settings.php:740
1581
  msgid "Zimbabwe"
1582
  msgstr ""
1583
 
1584
- #: admin/class-settings.php:741
1585
  msgid "Åland Islands"
1586
  msgstr ""
1587
 
1588
- #: admin/class-settings.php:784
1589
  msgid "World view"
1590
  msgstr ""
1591
 
1592
- #: admin/class-settings.php:787 admin/class-settings.php:901
1593
- #: inc/wpsl-functions.php:215
1594
  msgid "Default"
1595
  msgstr ""
1596
 
1597
- #: admin/class-settings.php:790 inc/wpsl-functions.php:288
1598
  msgid "Roadmap"
1599
  msgstr ""
1600
 
1601
- #: admin/class-settings.php:931
1602
  msgid "Start location marker"
1603
  msgstr ""
1604
 
1605
- #: admin/class-settings.php:933
1606
  msgid "Store location marker"
1607
  msgstr ""
1608
 
1609
- #: admin/class-settings.php:1015
1610
  msgid "Textarea"
1611
  msgstr ""
1612
 
1613
- #: admin/class-settings.php:1016
1614
  msgid "Dropdowns (recommended)"
1615
  msgstr ""
1616
 
1617
- #: admin/class-settings.php:1024
1618
  msgid "Bounces up and down"
1619
  msgstr ""
1620
 
1621
- #: admin/class-settings.php:1025
1622
  msgid "Will open the info window"
1623
  msgstr ""
1624
 
1625
- #: admin/class-settings.php:1026
1626
  msgid "Does not respond"
1627
  msgstr ""
1628
 
1629
- #: admin/class-settings.php:1034
1630
  msgid "In the store listings"
1631
  msgstr ""
1632
 
1633
- #: admin/class-settings.php:1035
1634
  msgid "In the info window on the map"
1635
  msgstr ""
1636
 
1637
- #: admin/class-settings.php:1067
1638
  msgid "Dropdown"
1639
  msgstr ""
1640
 
1641
- #: admin/class-settings.php:1068
1642
  msgid "Checkboxes"
1643
  msgstr ""
1644
 
1645
- #: admin/class-settings.php:1100
1646
  msgid "12 Hours"
1647
  msgstr ""
1648
 
1649
- #: admin/class-settings.php:1101
1650
  msgid "24 Hours"
1651
  msgstr ""
1652
 
@@ -1687,10 +1687,10 @@ msgid "Deactivate License"
1687
  msgstr ""
1688
 
1689
  #: admin/templates/map-settings.php:79 admin/templates/map-settings.php:118
1690
- #: admin/templates/map-settings.php:170 admin/templates/map-settings.php:249
1691
- #: admin/templates/map-settings.php:352 admin/templates/map-settings.php:380
1692
- #: admin/templates/map-settings.php:430 admin/templates/map-settings.php:458
1693
- #: admin/templates/map-settings.php:570 admin/templates/map-settings.php:595
1694
  msgid "Save Changes"
1695
  msgstr ""
1696
 
@@ -1755,9 +1755,9 @@ msgid ""
1755
  "restrictions with %sthis%s filter."
1756
  msgstr ""
1757
 
1758
- #: admin/templates/map-settings.php:128 admin/templates/map-settings.php:494
1759
- #: admin/templates/map-settings.php:495 frontend/templates/default.php:44
1760
- #: frontend/templates/store-listings-below.php:44 inc/wpsl-functions.php:132
1761
  msgid "Search"
1762
  msgstr ""
1763
 
@@ -1849,14 +1849,24 @@ msgid ""
1849
  msgstr ""
1850
 
1851
  #: admin/templates/map-settings.php:202
1852
- msgid "Initial zoom level"
 
 
 
 
 
 
1853
  msgstr ""
1854
 
1855
  #: admin/templates/map-settings.php:206
 
 
 
 
1856
  msgid "Max auto zoom level"
1857
  msgstr ""
1858
 
1859
- #: admin/templates/map-settings.php:206
1860
  #, php-format
1861
  msgid ""
1862
  "This value sets the zoom level for the \"Zoom here\" link in the info "
@@ -1864,45 +1874,45 @@ msgid ""
1864
  "is changed to make all the markers fit on the screen."
1865
  msgstr ""
1866
 
1867
- #: admin/templates/map-settings.php:210
1868
  msgid "Show the street view controls?"
1869
  msgstr ""
1870
 
1871
- #: admin/templates/map-settings.php:214
1872
  msgid "Show the map type control?"
1873
  msgstr ""
1874
 
1875
- #: admin/templates/map-settings.php:218
1876
  msgid "Enable scroll wheel zooming?"
1877
  msgstr ""
1878
 
1879
- #: admin/templates/map-settings.php:222
1880
  msgid "Zoom control position"
1881
  msgstr ""
1882
 
1883
- #: admin/templates/map-settings.php:225
1884
  msgid "Left"
1885
  msgstr ""
1886
 
1887
- #: admin/templates/map-settings.php:227
1888
  msgid "Right"
1889
  msgstr ""
1890
 
1891
- #: admin/templates/map-settings.php:231
1892
  msgid "Map type"
1893
  msgstr ""
1894
 
1895
- #: admin/templates/map-settings.php:235
1896
  msgid "Map style"
1897
  msgstr ""
1898
 
1899
- #: admin/templates/map-settings.php:235
1900
  msgid ""
1901
  "Custom map styles only work if the map type is set to \"Roadmap\" or "
1902
  "\"Terrain\"."
1903
  msgstr ""
1904
 
1905
- #: admin/templates/map-settings.php:238
1906
  #, php-format
1907
  msgid ""
1908
  "You can use existing map styles from %sSnazzy Maps%s or %sMap Stylr%s and "
@@ -1910,117 +1920,117 @@ msgid ""
1910
  "through the %sMap Style Editor%s or %sStyled Maps Wizard%s."
1911
  msgstr ""
1912
 
1913
- #: admin/templates/map-settings.php:239
1914
  #, php-format
1915
  msgid ""
1916
  "If you like to write the style code yourself, then you can find the "
1917
  "documentation from Google %shere%s."
1918
  msgstr ""
1919
 
1920
- #: admin/templates/map-settings.php:241
1921
  msgid "Preview Map Style"
1922
  msgstr ""
1923
 
1924
- #: admin/templates/map-settings.php:245
1925
  msgid "Show credits?"
1926
  msgstr ""
1927
 
1928
- #: admin/templates/map-settings.php:245
1929
  msgid ""
1930
  "This will place a \"Search provided by WP Store Locator\" backlink below the "
1931
  "map."
1932
  msgstr ""
1933
 
1934
- #: admin/templates/map-settings.php:259
1935
  msgid "User Experience"
1936
  msgstr ""
1937
 
1938
- #: admin/templates/map-settings.php:262
1939
  msgid "Store Locator height"
1940
  msgstr ""
1941
 
1942
- #: admin/templates/map-settings.php:266
1943
  msgid "Max width for the info window content"
1944
  msgstr ""
1945
 
1946
- #: admin/templates/map-settings.php:270
1947
  msgid "Search field width"
1948
  msgstr ""
1949
 
1950
- #: admin/templates/map-settings.php:274
1951
  msgid "Search and radius label width"
1952
  msgstr ""
1953
 
1954
- #: admin/templates/map-settings.php:278
1955
  msgid "Store Locator template"
1956
  msgstr ""
1957
 
1958
- #: admin/templates/map-settings.php:278
1959
  #, php-format
1960
  msgid ""
1961
  "The selected template is used with the [wpsl] shortcode. %s You can add a "
1962
  "custom template with the %swpsl_templates%s filter."
1963
  msgstr ""
1964
 
1965
- #: admin/templates/map-settings.php:282
1966
  msgid "Hide the scrollbar?"
1967
  msgstr ""
1968
 
1969
- #: admin/templates/map-settings.php:286
1970
  msgid "Open links in a new window?"
1971
  msgstr ""
1972
 
1973
- #: admin/templates/map-settings.php:290
1974
  msgid "Show a reset map button?"
1975
  msgstr ""
1976
 
1977
- #: admin/templates/map-settings.php:294
1978
  msgid ""
1979
  "When a user clicks on \"Directions\", open a new window, and show the route "
1980
  "on google.com/maps ?"
1981
  msgstr ""
1982
 
1983
- #: admin/templates/map-settings.php:298
1984
  msgid "Show a \"More info\" link in the store listings?"
1985
  msgstr ""
1986
 
1987
- #: admin/templates/map-settings.php:298
1988
  msgid ""
1989
  "This places a \"More Info\" link below the address and will show the phone, "
1990
  "fax, email, opening hours and description once the link is clicked."
1991
  msgstr ""
1992
 
1993
- #: admin/templates/map-settings.php:303
1994
  msgid "Where do you want to show the \"More info\" details?"
1995
  msgstr ""
1996
 
1997
- #: admin/templates/map-settings.php:308
1998
  msgid ""
1999
  "Always show the contact details below the address in the search results?"
2000
  msgstr ""
2001
 
2002
- #: admin/templates/map-settings.php:312
2003
  msgid "Make the store name clickable if a store URL exists?"
2004
  msgstr ""
2005
 
2006
- #: admin/templates/map-settings.php:312
2007
  #, php-format
2008
  msgid ""
2009
  "If %spermalinks%s are enabled, the store name will always link to the store "
2010
  "page."
2011
  msgstr ""
2012
 
2013
- #: admin/templates/map-settings.php:316
2014
  msgid "Make the phone number clickable on mobile devices?"
2015
  msgstr ""
2016
 
2017
- #: admin/templates/map-settings.php:320
2018
  msgid ""
2019
  "If street view is available for the current location, then show a \"Street "
2020
  "view\" link in the info window?"
2021
  msgstr ""
2022
 
2023
- #: admin/templates/map-settings.php:320
2024
  #, php-format
2025
  msgid ""
2026
  "Enabling this option can sometimes result in a small delay in the opening of "
@@ -2028,22 +2038,22 @@ msgid ""
2028
  "Maps to check if street view is available for the current location."
2029
  msgstr ""
2030
 
2031
- #: admin/templates/map-settings.php:324
2032
  msgid "Show a \"Zoom here\" link in the info window?"
2033
  msgstr ""
2034
 
2035
- #: admin/templates/map-settings.php:324
2036
  #, php-format
2037
  msgid ""
2038
  "Clicking this link will make the map zoom in to the %s max auto zoom level "
2039
  "%s."
2040
  msgstr ""
2041
 
2042
- #: admin/templates/map-settings.php:328
2043
  msgid "On page load move the mouse cursor to the search field?"
2044
  msgstr ""
2045
 
2046
- #: admin/templates/map-settings.php:328
2047
  #, php-format
2048
  msgid ""
2049
  "If the store locator is not placed at the top of the page, enabling this "
@@ -2051,11 +2061,11 @@ msgid ""
2051
  "on mobile devices.%s"
2052
  msgstr ""
2053
 
2054
- #: admin/templates/map-settings.php:332
2055
  msgid "Use the default style for the info window?"
2056
  msgstr ""
2057
 
2058
- #: admin/templates/map-settings.php:332
2059
  #, php-format
2060
  msgid ""
2061
  "If the default style is disabled the %sInfoBox%s library will be used "
@@ -2063,19 +2073,19 @@ msgid ""
2063
  "window through the .wpsl-infobox css class."
2064
  msgstr ""
2065
 
2066
- #: admin/templates/map-settings.php:336
2067
  msgid "Hide the country in the search results?"
2068
  msgstr ""
2069
 
2070
- #: admin/templates/map-settings.php:340
2071
  msgid "Hide the distance in the search results?"
2072
  msgstr ""
2073
 
2074
- #: admin/templates/map-settings.php:344
2075
  msgid "If a user hovers over the search results the store marker"
2076
  msgstr ""
2077
 
2078
- #: admin/templates/map-settings.php:344
2079
  #, php-format
2080
  msgid ""
2081
  "If marker clusters are enabled this option will not work as expected as long "
@@ -2085,278 +2095,278 @@ msgid ""
2085
  "it won't be clear to which marker it belongs to. "
2086
  msgstr ""
2087
 
2088
- #: admin/templates/map-settings.php:348
2089
  msgid "Address format"
2090
  msgstr ""
2091
 
2092
- #: admin/templates/map-settings.php:348
2093
  #, php-format
2094
  msgid ""
2095
  "You can add custom address formats with the %swpsl_address_formats%s filter."
2096
  msgstr ""
2097
 
2098
- #: admin/templates/map-settings.php:362
2099
  msgid "Markers"
2100
  msgstr ""
2101
 
2102
- #: admin/templates/map-settings.php:366
2103
  msgid "Enable marker clusters?"
2104
  msgstr ""
2105
 
2106
- #: admin/templates/map-settings.php:366
2107
  msgid "Recommended for maps with a large amount of markers."
2108
  msgstr ""
2109
 
2110
- #: admin/templates/map-settings.php:371
2111
  msgid "Max zoom level"
2112
  msgstr ""
2113
 
2114
- #: admin/templates/map-settings.php:371
2115
  msgid ""
2116
  "If this zoom level is reached or exceeded, then all markers are moved out of "
2117
  "the marker cluster and shown as individual markers."
2118
  msgstr ""
2119
 
2120
- #: admin/templates/map-settings.php:375
2121
  msgid "Cluster size"
2122
  msgstr ""
2123
 
2124
- #: admin/templates/map-settings.php:375
2125
  #, php-format
2126
  msgid ""
2127
  "The grid size of a cluster in pixels. %s A larger number will result in a "
2128
  "lower amount of clusters and also make the algorithm run faster."
2129
  msgstr ""
2130
 
2131
- #: admin/templates/map-settings.php:390
2132
  msgid "Store Editor"
2133
  msgstr ""
2134
 
2135
- #: admin/templates/map-settings.php:393
2136
  msgid "Default country"
2137
  msgstr ""
2138
 
2139
- #: admin/templates/map-settings.php:397
2140
  msgid "Map type for the location preview"
2141
  msgstr ""
2142
 
2143
- #: admin/templates/map-settings.php:401
2144
  msgid "Hide the opening hours?"
2145
  msgstr ""
2146
 
2147
- #: admin/templates/map-settings.php:407
2148
  msgid "Opening hours input type"
2149
  msgstr ""
2150
 
2151
- #: admin/templates/map-settings.php:411
2152
  #, php-format
2153
  msgid ""
2154
  "Opening hours created in version 1.x %sare not%s automatically converted to "
2155
  "the new dropdown format."
2156
  msgstr ""
2157
 
2158
- #: admin/templates/map-settings.php:414 admin/templates/map-settings.php:423
2159
  msgid "The default opening hours"
2160
  msgstr ""
2161
 
2162
- #: admin/templates/map-settings.php:420
2163
  msgid "Opening hours format"
2164
  msgstr ""
2165
 
2166
- #: admin/templates/map-settings.php:427
2167
  msgid ""
2168
  "The default country and opening hours are only used when a new store is "
2169
  "created. So changing the default values will have no effect on existing "
2170
  "store locations."
2171
  msgstr ""
2172
 
2173
- #: admin/templates/map-settings.php:440
2174
  msgid "Permalink"
2175
  msgstr ""
2176
 
2177
- #: admin/templates/map-settings.php:443
2178
  msgid "Enable permalink?"
2179
  msgstr ""
2180
 
2181
- #: admin/templates/map-settings.php:448
2182
  msgid "Store slug"
2183
  msgstr ""
2184
 
2185
- #: admin/templates/map-settings.php:452
2186
  msgid "Category slug"
2187
  msgstr ""
2188
 
2189
- #: admin/templates/map-settings.php:455
2190
  #, php-format
2191
  msgid "The permalink slugs %smust be unique%s on your site."
2192
  msgstr ""
2193
 
2194
- #: admin/templates/map-settings.php:468
2195
  msgid "Labels"
2196
  msgstr ""
2197
 
2198
- #: admin/templates/map-settings.php:477
2199
  #, php-format
2200
  msgid "%sWarning!%s %sWPML%s, or a plugin using the WPML API is active."
2201
  msgstr ""
2202
 
2203
- #: admin/templates/map-settings.php:478
2204
  msgid ""
2205
  "Please use the \"String Translations\" section in the used multilingual "
2206
  "plugin to change the labels. Changing them here will have no effect as long "
2207
  "as the multilingual plugin remains active."
2208
  msgstr ""
2209
 
2210
- #: admin/templates/map-settings.php:482 admin/templates/map-settings.php:483
2211
  #: frontend/templates/default.php:12
2212
- #: frontend/templates/store-listings-below.php:12 inc/wpsl-functions.php:131
2213
  msgid "Your location"
2214
  msgstr ""
2215
 
2216
- #: admin/templates/map-settings.php:486 admin/templates/map-settings.php:487
2217
  #: frontend/templates/default.php:21
2218
- #: frontend/templates/store-listings-below.php:21 inc/wpsl-functions.php:134
2219
  msgid "Search radius"
2220
  msgstr ""
2221
 
2222
- #: admin/templates/map-settings.php:490 admin/templates/map-settings.php:491
2223
- #: frontend/class-frontend.php:1693 inc/wpsl-functions.php:135
2224
  msgid "No results found"
2225
  msgstr ""
2226
 
2227
- #: admin/templates/map-settings.php:498
2228
  msgid "Searching (preloader text)"
2229
  msgstr ""
2230
 
2231
- #: admin/templates/map-settings.php:499 frontend/class-frontend.php:1692
2232
- #: inc/wpsl-functions.php:133
2233
  msgid "Searching..."
2234
  msgstr ""
2235
 
2236
- #: admin/templates/map-settings.php:502 admin/templates/map-settings.php:503
2237
  #: frontend/templates/default.php:30
2238
- #: frontend/templates/store-listings-below.php:30 inc/wpsl-functions.php:136
2239
  msgid "Results"
2240
  msgstr ""
2241
 
2242
- #: admin/templates/map-settings.php:506 admin/upgrade.php:206
2243
- #: inc/wpsl-functions.php:150
2244
  msgid "Category filter"
2245
  msgstr ""
2246
 
2247
- #: admin/templates/map-settings.php:507 frontend/class-frontend.php:1312
2248
  msgid "Category"
2249
  msgstr ""
2250
 
2251
- #: admin/templates/map-settings.php:510
2252
  msgid "Category first item"
2253
  msgstr ""
2254
 
2255
- #: admin/templates/map-settings.php:511 admin/upgrade.php:367
2256
- #: frontend/class-frontend.php:1315 inc/wpsl-functions.php:151
2257
  msgid "Any"
2258
  msgstr ""
2259
 
2260
- #: admin/templates/map-settings.php:514 admin/templates/map-settings.php:515
2261
- #: admin/upgrade.php:59 frontend/class-frontend.php:1694
2262
  #: frontend/underscore-functions.php:138 frontend/underscore-functions.php:168
2263
- #: inc/wpsl-functions.php:137
2264
  msgid "More info"
2265
  msgstr ""
2266
 
2267
- #: admin/templates/map-settings.php:518 admin/templates/map-settings.php:519
2268
  #: frontend/class-frontend.php:804 frontend/underscore-functions.php:29
2269
  #: frontend/underscore-functions.php:65 frontend/underscore-functions.php:147
2270
- #: inc/wpsl-functions.php:145
2271
  msgid "Phone"
2272
  msgstr ""
2273
 
2274
- #: admin/templates/map-settings.php:538 admin/templates/map-settings.php:539
2275
- #: frontend/class-frontend.php:1699 inc/wpsl-functions.php:130
2276
  msgid "Start location"
2277
  msgstr ""
2278
 
2279
- #: admin/templates/map-settings.php:542
2280
  msgid "Get directions"
2281
  msgstr ""
2282
 
2283
- #: admin/templates/map-settings.php:543 frontend/class-frontend.php:1697
2284
- #: inc/wpsl-functions.php:138
2285
  msgid "Directions"
2286
  msgstr ""
2287
 
2288
- #: admin/templates/map-settings.php:546
2289
  msgid "No directions found"
2290
  msgstr ""
2291
 
2292
- #: admin/templates/map-settings.php:547 admin/upgrade.php:151
2293
- #: frontend/class-frontend.php:1698 inc/wpsl-functions.php:139
2294
  msgid "No route could be found between the origin and destination"
2295
  msgstr ""
2296
 
2297
- #: admin/templates/map-settings.php:550 admin/templates/map-settings.php:551
2298
- #: admin/upgrade.php:77 frontend/class-frontend.php:1700
2299
- #: inc/wpsl-functions.php:140
2300
- msgid "Back"
2301
- msgstr ""
2302
-
2303
  #: admin/templates/map-settings.php:554 admin/templates/map-settings.php:555
2304
- #: admin/upgrade.php:143 frontend/class-frontend.php:1701
2305
  #: inc/wpsl-functions.php:141
2306
- msgid "Street view"
2307
  msgstr ""
2308
 
2309
  #: admin/templates/map-settings.php:558 admin/templates/map-settings.php:559
2310
- #: admin/upgrade.php:147 frontend/class-frontend.php:1702
2311
  #: inc/wpsl-functions.php:142
 
 
 
 
 
 
2312
  msgid "Zoom here"
2313
  msgstr ""
2314
 
2315
- #: admin/templates/map-settings.php:562
2316
  msgid "General error"
2317
  msgstr ""
2318
 
2319
- #: admin/templates/map-settings.php:563 frontend/class-frontend.php:1695
2320
- #: inc/wpsl-functions.php:143
2321
  msgid "Something went wrong, please try again!"
2322
  msgstr ""
2323
 
2324
- #: admin/templates/map-settings.php:566
2325
  msgid "Query limit error"
2326
  msgstr ""
2327
 
2328
- #: admin/templates/map-settings.php:566
2329
  #, php-format
2330
  msgid ""
2331
  "You can raise the %susage limit%s by obtaining an API %skey%s, and fill in "
2332
  "the \"API key\" field at the top of this page."
2333
  msgstr ""
2334
 
2335
- #: admin/templates/map-settings.php:567 frontend/class-frontend.php:1696
2336
- #: inc/wpsl-functions.php:144
2337
  msgid "API usage limit reached"
2338
  msgstr ""
2339
 
2340
- #: admin/templates/map-settings.php:580
2341
  msgid "Tools"
2342
  msgstr ""
2343
 
2344
- #: admin/templates/map-settings.php:583
2345
  msgid "Enable store locator debug?"
2346
  msgstr ""
2347
 
2348
- #: admin/templates/map-settings.php:583
2349
  #, php-format
2350
  msgid ""
2351
  "This disables the WPSL transient cache. %sThe transient cache is only used "
2352
  "if the %sLoad locations on page load%s option is enabled."
2353
  msgstr ""
2354
 
2355
- #: admin/templates/map-settings.php:587
2356
  msgid "Enable compatibility mode?"
2357
  msgstr ""
2358
 
2359
- #: admin/templates/map-settings.php:587
2360
  #, php-format
2361
  msgid ""
2362
  "If the %sbrowser console%s shows the error below, then enabling this option "
@@ -2365,11 +2375,11 @@ msgid ""
2365
  "situations break the store locator map."
2366
  msgstr ""
2367
 
2368
- #: admin/templates/map-settings.php:591
2369
  msgid "WPSL transients"
2370
  msgstr ""
2371
 
2372
- #: admin/templates/map-settings.php:592
2373
  msgid "Clear store locator transient cache"
2374
  msgstr ""
2375
 
@@ -2381,22 +2391,22 @@ msgstr ""
2381
  msgid "Reset"
2382
  msgstr ""
2383
 
2384
- #: admin/upgrade.php:174 inc/wpsl-functions.php:124
2385
  msgid "stores"
2386
  msgstr ""
2387
 
2388
- #: admin/upgrade.php:178 inc/wpsl-functions.php:125
2389
  msgid "store-category"
2390
  msgstr ""
2391
 
2392
- #: admin/upgrade.php:424
2393
  #, php-format
2394
  msgid ""
2395
  "Because you updated WP Store Locator from version 1.x, the %s current store "
2396
  "locations need to be %sconverted%s to custom post types."
2397
  msgstr ""
2398
 
2399
- #: admin/upgrade.php:445
2400
  #, php-format
2401
  msgid ""
2402
  "The script converting the locations timed out. %s You can click the \"Start "
@@ -2407,15 +2417,15 @@ msgid ""
2407
  "but if you are reading this then that failed."
2408
  msgstr ""
2409
 
2410
- #: admin/upgrade.php:466
2411
  msgid "Store locations to convert:"
2412
  msgstr ""
2413
 
2414
- #: admin/upgrade.php:468
2415
  msgid "Start Converting"
2416
  msgstr ""
2417
 
2418
- #: admin/upgrade.php:590
2419
  #, php-format
2420
  msgid ""
2421
  "All the store locations are now converted to custom post types. %s You can "
@@ -2440,19 +2450,19 @@ msgid ""
2440
  "set the ID or category attribute."
2441
  msgstr ""
2442
 
2443
- #: frontend/class-frontend.php:1488
2444
  msgid "The application does not have permission to use the Geolocation API."
2445
  msgstr ""
2446
 
2447
- #: frontend/class-frontend.php:1489
2448
  msgid "Location information is unavailable."
2449
  msgstr ""
2450
 
2451
- #: frontend/class-frontend.php:1490
2452
  msgid "The geolocation request timed out."
2453
  msgstr ""
2454
 
2455
- #: frontend/class-frontend.php:1491
2456
  msgid "An unknown error occurred."
2457
  msgstr ""
2458
 
@@ -2550,75 +2560,75 @@ msgstr ""
2550
  msgid "Zip"
2551
  msgstr ""
2552
 
2553
- #: inc/wpsl-functions.php:220
2554
  msgid "Show the store list below the map"
2555
  msgstr ""
2556
 
2557
- #: inc/wpsl-functions.php:237
2558
  msgid "Monday"
2559
  msgstr ""
2560
 
2561
- #: inc/wpsl-functions.php:238
2562
  msgid "Tuesday"
2563
  msgstr ""
2564
 
2565
- #: inc/wpsl-functions.php:239
2566
  msgid "Wednesday"
2567
  msgstr ""
2568
 
2569
- #: inc/wpsl-functions.php:240
2570
  msgid "Thursday"
2571
  msgstr ""
2572
 
2573
- #: inc/wpsl-functions.php:241
2574
  msgid "Friday"
2575
  msgstr ""
2576
 
2577
- #: inc/wpsl-functions.php:242
2578
  msgid "Saturday"
2579
  msgstr ""
2580
 
2581
- #: inc/wpsl-functions.php:243
2582
  msgid "Sunday"
2583
  msgstr ""
2584
 
2585
- #: inc/wpsl-functions.php:273
2586
  #, php-format
2587
  msgid "Mon %sTue %sWed %sThu %sFri %sSat Closed %sSun Closed"
2588
  msgstr ""
2589
 
2590
- #: inc/wpsl-functions.php:289
2591
  msgid "Satellite"
2592
  msgstr ""
2593
 
2594
- #: inc/wpsl-functions.php:290
2595
  msgid "Hybrid"
2596
  msgstr ""
2597
 
2598
- #: inc/wpsl-functions.php:291
2599
  msgid "Terrain"
2600
  msgstr ""
2601
 
2602
- #: inc/wpsl-functions.php:306
2603
  msgid "(city) (state) (zip code)"
2604
  msgstr ""
2605
 
2606
- #: inc/wpsl-functions.php:307
2607
  msgid "(city), (state) (zip code)"
2608
  msgstr ""
2609
 
2610
- #: inc/wpsl-functions.php:308
2611
  msgid "(city) (zip code)"
2612
  msgstr ""
2613
 
2614
- #: inc/wpsl-functions.php:309
2615
  msgid "(city), (zip code)"
2616
  msgstr ""
2617
 
2618
- #: inc/wpsl-functions.php:310
2619
  msgid "(zip code) (city) (state)"
2620
  msgstr ""
2621
 
2622
- #: inc/wpsl-functions.php:311
2623
  msgid "(zip code) (city)"
2624
  msgstr ""
1
  #, fuzzy
2
  msgid ""
3
  msgstr ""
4
+ "Project-Id-Version: WP Store Locator v2.2.9\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2017-07-09 16:08+0700\n"
7
  "PO-Revision-Date: 2015-09-01 13:49+0100\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
57
  msgid "Geocode was not successful for the following reason"
58
  msgstr ""
59
 
60
+ #: admin/class-admin.php:295 admin/upgrade.php:452
61
  msgid "Security check failed, reload the page and try again."
62
  msgstr ""
63
 
219
  msgid "Opening Hours"
220
  msgstr ""
221
 
222
+ #: admin/class-metaboxes.php:82 admin/templates/map-settings.php:538
223
+ #: admin/templates/map-settings.php:539 frontend/underscore-functions.php:160
224
+ #: inc/wpsl-functions.php:150
225
  msgid "Hours"
226
  msgstr ""
227
 
233
  msgid "Tel"
234
  msgstr ""
235
 
236
+ #: admin/class-metaboxes.php:91 admin/templates/map-settings.php:526
237
+ #: admin/templates/map-settings.php:527 frontend/class-frontend.php:808
238
  #: frontend/underscore-functions.php:32 frontend/underscore-functions.php:68
239
+ #: frontend/underscore-functions.php:150 inc/wpsl-functions.php:147
240
  msgid "Fax"
241
  msgstr ""
242
 
243
+ #: admin/class-metaboxes.php:94 admin/templates/map-settings.php:530
244
+ #: admin/templates/map-settings.php:531 admin/upgrade.php:198
245
  #: frontend/class-frontend.php:812 frontend/underscore-functions.php:35
246
  #: frontend/underscore-functions.php:71 frontend/underscore-functions.php:153
247
+ #: inc/wpsl-functions.php:148
248
  msgid "Email"
249
  msgstr ""
250
 
251
+ #: admin/class-metaboxes.php:97 admin/templates/map-settings.php:534
252
+ #: admin/templates/map-settings.php:535 admin/upgrade.php:202
253
+ #: frontend/class-frontend.php:817 inc/wpsl-functions.php:149
254
  msgid "Url"
255
  msgstr ""
256
 
339
  msgid "WP Store Locator Transients Cleared"
340
  msgstr ""
341
 
342
+ #: admin/class-settings.php:405
343
  msgid ""
344
  "The max results field cannot be empty, the default value has been restored."
345
  msgstr ""
346
 
347
+ #: admin/class-settings.php:408
348
  msgid ""
349
  "The search radius field cannot be empty, the default value has been restored."
350
  msgstr ""
351
 
352
+ #: admin/class-settings.php:411
353
  #, php-format
354
  msgid ""
355
  "Please provide the name of a city or country that can be used as a starting "
357
  "user fails, or the option itself is disabled."
358
  msgstr ""
359
 
360
+ #: admin/class-settings.php:432
361
  msgid "Select your language"
362
  msgstr ""
363
 
364
+ #: admin/class-settings.php:433
365
  msgid "English"
366
  msgstr ""
367
 
368
+ #: admin/class-settings.php:434
369
  msgid "Arabic"
370
  msgstr ""
371
 
372
+ #: admin/class-settings.php:435
373
  msgid "Basque"
374
  msgstr ""
375
 
376
+ #: admin/class-settings.php:436
377
  msgid "Bulgarian"
378
  msgstr ""
379
 
380
+ #: admin/class-settings.php:437
381
  msgid "Bengali"
382
  msgstr ""
383
 
384
+ #: admin/class-settings.php:438
385
  msgid "Catalan"
386
  msgstr ""
387
 
388
+ #: admin/class-settings.php:439
389
  msgid "Czech"
390
  msgstr ""
391
 
392
+ #: admin/class-settings.php:440
393
  msgid "Danish"
394
  msgstr ""
395
 
396
+ #: admin/class-settings.php:441
397
  msgid "German"
398
  msgstr ""
399
 
400
+ #: admin/class-settings.php:442
401
  msgid "Greek"
402
  msgstr ""
403
 
404
+ #: admin/class-settings.php:443
405
  msgid "English (Australian)"
406
  msgstr ""
407
 
408
+ #: admin/class-settings.php:444
409
  msgid "English (Great Britain)"
410
  msgstr ""
411
 
412
+ #: admin/class-settings.php:445
413
  msgid "Spanish"
414
  msgstr ""
415
 
416
+ #: admin/class-settings.php:446
417
  msgid "Farsi"
418
  msgstr ""
419
 
420
+ #: admin/class-settings.php:447
421
  msgid "Finnish"
422
  msgstr ""
423
 
424
+ #: admin/class-settings.php:448
425
  msgid "Filipino"
426
  msgstr ""
427
 
428
+ #: admin/class-settings.php:449
429
  msgid "French"
430
  msgstr ""
431
 
432
+ #: admin/class-settings.php:450
433
  msgid "Galician"
434
  msgstr ""
435
 
436
+ #: admin/class-settings.php:451
437
  msgid "Gujarati"
438
  msgstr ""
439
 
440
+ #: admin/class-settings.php:452
441
  msgid "Hindi"
442
  msgstr ""
443
 
444
+ #: admin/class-settings.php:453
445
  msgid "Croatian"
446
  msgstr ""
447
 
448
+ #: admin/class-settings.php:454
449
  msgid "Hungarian"
450
  msgstr ""
451
 
452
+ #: admin/class-settings.php:455
453
  msgid "Indonesian"
454
  msgstr ""
455
 
456
+ #: admin/class-settings.php:456
457
  msgid "Italian"
458
  msgstr ""
459
 
460
+ #: admin/class-settings.php:457
461
  msgid "Hebrew"
462
  msgstr ""
463
 
464
+ #: admin/class-settings.php:458
465
  msgid "Japanese"
466
  msgstr ""
467
 
468
+ #: admin/class-settings.php:459
469
  msgid "Kannada"
470
  msgstr ""
471
 
472
+ #: admin/class-settings.php:460
473
  msgid "Korean"
474
  msgstr ""
475
 
476
+ #: admin/class-settings.php:461
477
  msgid "Lithuanian"
478
  msgstr ""
479
 
480
+ #: admin/class-settings.php:462
481
  msgid "Latvian"
482
  msgstr ""
483
 
484
+ #: admin/class-settings.php:463
485
  msgid "Malayalam"
486
  msgstr ""
487
 
488
+ #: admin/class-settings.php:464
489
  msgid "Marathi"
490
  msgstr ""
491
 
492
+ #: admin/class-settings.php:465
493
  msgid "Dutch"
494
  msgstr ""
495
 
496
+ #: admin/class-settings.php:466
497
  msgid "Norwegian"
498
  msgstr ""
499
 
500
+ #: admin/class-settings.php:467
501
  msgid "Norwegian Nynorsk"
502
  msgstr ""
503
 
504
+ #: admin/class-settings.php:468
505
  msgid "Polish"
506
  msgstr ""
507
 
508
+ #: admin/class-settings.php:469
509
  msgid "Portuguese"
510
  msgstr ""
511
 
512
+ #: admin/class-settings.php:470
513
  msgid "Portuguese (Brazil)"
514
  msgstr ""
515
 
516
+ #: admin/class-settings.php:471
517
  msgid "Portuguese (Portugal)"
518
  msgstr ""
519
 
520
+ #: admin/class-settings.php:472
521
  msgid "Romanian"
522
  msgstr ""
523
 
524
+ #: admin/class-settings.php:473
525
  msgid "Russian"
526
  msgstr ""
527
 
528
+ #: admin/class-settings.php:474
529
  msgid "Slovak"
530
  msgstr ""
531
 
532
+ #: admin/class-settings.php:475
533
  msgid "Slovenian"
534
  msgstr ""
535
 
536
+ #: admin/class-settings.php:476
537
  msgid "Serbian"
538
  msgstr ""
539
 
540
+ #: admin/class-settings.php:477
541
  msgid "Swedish"
542
  msgstr ""
543
 
544
+ #: admin/class-settings.php:478
545
  msgid "Tagalog"
546
  msgstr ""
547
 
548
+ #: admin/class-settings.php:479
549
  msgid "Tamil"
550
  msgstr ""
551
 
552
+ #: admin/class-settings.php:480
553
  msgid "Telugu"
554
  msgstr ""
555
 
556
+ #: admin/class-settings.php:481
557
  msgid "Thai"
558
  msgstr ""
559
 
560
+ #: admin/class-settings.php:482
561
  msgid "Turkish"
562
  msgstr ""
563
 
564
+ #: admin/class-settings.php:483
565
  msgid "Ukrainian"
566
  msgstr ""
567
 
568
+ #: admin/class-settings.php:484
569
  msgid "Vietnamese"
570
  msgstr ""
571
 
572
+ #: admin/class-settings.php:485
573
  msgid "Chinese (Simplified)"
574
  msgstr ""
575
 
576
+ #: admin/class-settings.php:486
577
  msgid "Chinese (Traditional)"
578
  msgstr ""
579
 
580
+ #: admin/class-settings.php:491
581
  msgid "Select your region"
582
  msgstr ""
583
 
584
+ #: admin/class-settings.php:492
585
  msgid "Afghanistan"
586
  msgstr ""
587
 
588
+ #: admin/class-settings.php:493
589
  msgid "Albania"
590
  msgstr ""
591
 
592
+ #: admin/class-settings.php:494
593
  msgid "Algeria"
594
  msgstr ""
595
 
596
+ #: admin/class-settings.php:495
597
  msgid "American Samoa"
598
  msgstr ""
599
 
600
+ #: admin/class-settings.php:496
601
  msgid "Andorra"
602
  msgstr ""
603
 
604
+ #: admin/class-settings.php:497
605
  msgid "Angola"
606
  msgstr ""
607
 
608
+ #: admin/class-settings.php:498
609
  msgid "Anguilla"
610
  msgstr ""
611
 
612
+ #: admin/class-settings.php:499
613
  msgid "Antarctica"
614
  msgstr ""
615
 
616
+ #: admin/class-settings.php:500
617
  msgid "Antigua and Barbuda"
618
  msgstr ""
619
 
620
+ #: admin/class-settings.php:501
621
  msgid "Argentina"
622
  msgstr ""
623
 
624
+ #: admin/class-settings.php:502
625
  msgid "Armenia"
626
  msgstr ""
627
 
628
+ #: admin/class-settings.php:503
629
  msgid "Aruba"
630
  msgstr ""
631
 
632
+ #: admin/class-settings.php:504
633
  msgid "Ascension Island"
634
  msgstr ""
635
 
636
+ #: admin/class-settings.php:505
637
  msgid "Australia"
638
  msgstr ""
639
 
640
+ #: admin/class-settings.php:506
641
  msgid "Austria"
642
  msgstr ""
643
 
644
+ #: admin/class-settings.php:507
645
  msgid "Azerbaijan"
646
  msgstr ""
647
 
648
+ #: admin/class-settings.php:508
649
  msgid "Bahamas"
650
  msgstr ""
651
 
652
+ #: admin/class-settings.php:509
653
  msgid "Bahrain"
654
  msgstr ""
655
 
656
+ #: admin/class-settings.php:510
657
  msgid "Bangladesh"
658
  msgstr ""
659
 
660
+ #: admin/class-settings.php:511
661
  msgid "Barbados"
662
  msgstr ""
663
 
664
+ #: admin/class-settings.php:512
665
  msgid "Belarus"
666
  msgstr ""
667
 
668
+ #: admin/class-settings.php:513
669
  msgid "Belgium"
670
  msgstr ""
671
 
672
+ #: admin/class-settings.php:514
673
  msgid "Belize"
674
  msgstr ""
675
 
676
+ #: admin/class-settings.php:515
677
  msgid "Benin"
678
  msgstr ""
679
 
680
+ #: admin/class-settings.php:516
681
  msgid "Bermuda"
682
  msgstr ""
683
 
684
+ #: admin/class-settings.php:517
685
  msgid "Bhutan"
686
  msgstr ""
687
 
688
+ #: admin/class-settings.php:518
689
  msgid "Bolivia"
690
  msgstr ""
691
 
692
+ #: admin/class-settings.php:519
693
  msgid "Bosnia and Herzegovina"
694
  msgstr ""
695
 
696
+ #: admin/class-settings.php:520
697
  msgid "Botswana"
698
  msgstr ""
699
 
700
+ #: admin/class-settings.php:521
701
  msgid "Bouvet Island"
702
  msgstr ""
703
 
704
+ #: admin/class-settings.php:522
705
  msgid "Brazil"
706
  msgstr ""
707
 
708
+ #: admin/class-settings.php:523
709
  msgid "British Indian Ocean Territory"
710
  msgstr ""
711
 
712
+ #: admin/class-settings.php:524
713
  msgid "British Virgin Islands"
714
  msgstr ""
715
 
716
+ #: admin/class-settings.php:525
717
  msgid "Brunei"
718
  msgstr ""
719
 
720
+ #: admin/class-settings.php:526
721
  msgid "Bulgaria"
722
  msgstr ""
723
 
724
+ #: admin/class-settings.php:527
725
  msgid "Burkina Faso"
726
  msgstr ""
727
 
728
+ #: admin/class-settings.php:528
729
  msgid "Burundi"
730
  msgstr ""
731
 
732
+ #: admin/class-settings.php:529
733
  msgid "Cambodia"
734
  msgstr ""
735
 
736
+ #: admin/class-settings.php:530
737
  msgid "Cameroon"
738
  msgstr ""
739
 
740
+ #: admin/class-settings.php:531
741
  msgid "Canada"
742
  msgstr ""
743
 
744
+ #: admin/class-settings.php:532
745
  msgid "Canary Islands"
746
  msgstr ""
747
 
748
+ #: admin/class-settings.php:533
749
  msgid "Cape Verde"
750
  msgstr ""
751
 
752
+ #: admin/class-settings.php:534
753
  msgid "Caribbean Netherlands"
754
  msgstr ""
755
 
756
+ #: admin/class-settings.php:535
757
  msgid "Cayman Islands"
758
  msgstr ""
759
 
760
+ #: admin/class-settings.php:536
761
  msgid "Central African Republic"
762
  msgstr ""
763
 
764
+ #: admin/class-settings.php:537
765
  msgid "Ceuta and Melilla"
766
  msgstr ""
767
 
768
+ #: admin/class-settings.php:538
769
  msgid "Chad"
770
  msgstr ""
771
 
772
+ #: admin/class-settings.php:539
773
  msgid "Chile"
774
  msgstr ""
775
 
776
+ #: admin/class-settings.php:540
777
  msgid "China"
778
  msgstr ""
779
 
780
+ #: admin/class-settings.php:541
781
  msgid "Christmas Island"
782
  msgstr ""
783
 
784
+ #: admin/class-settings.php:542
785
  msgid "Clipperton Island"
786
  msgstr ""
787
 
788
+ #: admin/class-settings.php:543
789
  msgid "Cocos (Keeling) Islands"
790
  msgstr ""
791
 
792
+ #: admin/class-settings.php:544
793
  msgid "Colombia"
794
  msgstr ""
795
 
796
+ #: admin/class-settings.php:545
797
  msgid "Comoros"
798
  msgstr ""
799
 
800
+ #: admin/class-settings.php:546
801
  msgid "Congo (DRC"
802
  msgstr ""
803
 
804
+ #: admin/class-settings.php:547
805
  msgid "Congo (Republic)"
806
  msgstr ""
807
 
808
+ #: admin/class-settings.php:548
809
  msgid "Cook Islands"
810
  msgstr ""
811
 
812
+ #: admin/class-settings.php:549
813
  msgid "Costa Rica"
814
  msgstr ""
815
 
816
+ #: admin/class-settings.php:550
817
  msgid "Croatia"
818
  msgstr ""
819
 
820
+ #: admin/class-settings.php:551
821
  msgid "Cuba"
822
  msgstr ""
823
 
824
+ #: admin/class-settings.php:552
825
  msgid "Curaçao"
826
  msgstr ""
827
 
828
+ #: admin/class-settings.php:553
829
  msgid "Cyprus"
830
  msgstr ""
831
 
832
+ #: admin/class-settings.php:554
833
  msgid "Czech Republic"
834
  msgstr ""
835
 
836
+ #: admin/class-settings.php:555
837
  msgid "Côte d'Ivoire"
838
  msgstr ""
839
 
840
+ #: admin/class-settings.php:556
841
  msgid "Denmark"
842
  msgstr ""
843
 
844
+ #: admin/class-settings.php:557
845
  msgid "Djibouti"
846
  msgstr ""
847
 
848
+ #: admin/class-settings.php:558
849
  msgid "Democratic Republic of the Congo"
850
  msgstr ""
851
 
852
+ #: admin/class-settings.php:559
853
  msgid "Dominica"
854
  msgstr ""
855
 
856
+ #: admin/class-settings.php:560
857
  msgid "Dominican Republic"
858
  msgstr ""
859
 
860
+ #: admin/class-settings.php:561
861
  msgid "Ecuador"
862
  msgstr ""
863
 
864
+ #: admin/class-settings.php:562
865
  msgid "Egypt"
866
  msgstr ""
867
 
868
+ #: admin/class-settings.php:563
869
  msgid "El Salvador"
870
  msgstr ""
871
 
872
+ #: admin/class-settings.php:564
873
  msgid "Equatorial Guinea"
874
  msgstr ""
875
 
876
+ #: admin/class-settings.php:565
877
  msgid "Eritrea"
878
  msgstr ""
879
 
880
+ #: admin/class-settings.php:566
881
  msgid "Estonia"
882
  msgstr ""
883
 
884
+ #: admin/class-settings.php:567
885
  msgid "Ethiopia"
886
  msgstr ""
887
 
888
+ #: admin/class-settings.php:568
889
  msgid "Falkland Islands(Islas Malvinas)"
890
  msgstr ""
891
 
892
+ #: admin/class-settings.php:569
893
  msgid "Faroe Islands"
894
  msgstr ""
895
 
896
+ #: admin/class-settings.php:570
897
  msgid "Fiji"
898
  msgstr ""
899
 
900
+ #: admin/class-settings.php:571
901
  msgid "Finland"
902
  msgstr ""
903
 
904
+ #: admin/class-settings.php:572
905
  msgid "France"
906
  msgstr ""
907
 
908
+ #: admin/class-settings.php:573
909
  msgid "French Guiana"
910
  msgstr ""
911
 
912
+ #: admin/class-settings.php:574
913
  msgid "French Polynesia"
914
  msgstr ""
915
 
916
+ #: admin/class-settings.php:575
917
  msgid "French Southern Territories"
918
  msgstr ""
919
 
920
+ #: admin/class-settings.php:576
921
  msgid "Gabon"
922
  msgstr ""
923
 
924
+ #: admin/class-settings.php:577
925
  msgid "Gambia"
926
  msgstr ""
927
 
928
+ #: admin/class-settings.php:578
929
  msgid "Georgia"
930
  msgstr ""
931
 
932
+ #: admin/class-settings.php:579
933
  msgid "Germany"
934
  msgstr ""
935
 
936
+ #: admin/class-settings.php:580
937
  msgid "Ghana"
938
  msgstr ""
939
 
940
+ #: admin/class-settings.php:581
941
  msgid "Gibraltar"
942
  msgstr ""
943
 
944
+ #: admin/class-settings.php:582
945
  msgid "Greece"
946
  msgstr ""
947
 
948
+ #: admin/class-settings.php:583
949
  msgid "Greenland"
950
  msgstr ""
951
 
952
+ #: admin/class-settings.php:584
953
  msgid "Grenada"
954
  msgstr ""
955
 
956
+ #: admin/class-settings.php:585 admin/class-settings.php:587
957
  msgid "Guam"
958
  msgstr ""
959
 
960
+ #: admin/class-settings.php:586
961
  msgid "Guadeloupe"
962
  msgstr ""
963
 
964
+ #: admin/class-settings.php:588
965
  msgid "Guatemala"
966
  msgstr ""
967
 
968
+ #: admin/class-settings.php:589
969
  msgid "Guernsey"
970
  msgstr ""
971
 
972
+ #: admin/class-settings.php:590
973
  msgid "Guinea"
974
  msgstr ""
975
 
976
+ #: admin/class-settings.php:591
977
  msgid "Guinea-Bissau"
978
  msgstr ""
979
 
980
+ #: admin/class-settings.php:592
981
  msgid "Guyana"
982
  msgstr ""
983
 
984
+ #: admin/class-settings.php:593
985
  msgid "Haiti"
986
  msgstr ""
987
 
988
+ #: admin/class-settings.php:594
989
  msgid "Heard and McDonald Islands"
990
  msgstr ""
991
 
992
+ #: admin/class-settings.php:595
993
  msgid "Honduras"
994
  msgstr ""
995
 
996
+ #: admin/class-settings.php:596
997
  msgid "Hong Kong"
998
  msgstr ""
999
 
1000
+ #: admin/class-settings.php:597
1001
  msgid "Hungary"
1002
  msgstr ""
1003
 
1004
+ #: admin/class-settings.php:598
1005
  msgid "Iceland"
1006
  msgstr ""
1007
 
1008
+ #: admin/class-settings.php:599
1009
  msgid "India"
1010
  msgstr ""
1011
 
1012
+ #: admin/class-settings.php:600
1013
  msgid "Indonesia"
1014
  msgstr ""
1015
 
1016
+ #: admin/class-settings.php:601
1017
  msgid "Iran"
1018
  msgstr ""
1019
 
1020
+ #: admin/class-settings.php:602
1021
  msgid "Iraq"
1022
  msgstr ""
1023
 
1024
+ #: admin/class-settings.php:603
1025
  msgid "Ireland"
1026
  msgstr ""
1027
 
1028
+ #: admin/class-settings.php:604
1029
  msgid "Isle of Man"
1030
  msgstr ""
1031
 
1032
+ #: admin/class-settings.php:605
1033
  msgid "Israel"
1034
  msgstr ""
1035
 
1036
+ #: admin/class-settings.php:606
1037
  msgid "Italy"
1038
  msgstr ""
1039
 
1040
+ #: admin/class-settings.php:607
1041
  msgid "Jamaica"
1042
  msgstr ""
1043
 
1044
+ #: admin/class-settings.php:608
1045
  msgid "Japan"
1046
  msgstr ""
1047
 
1048
+ #: admin/class-settings.php:609
1049
  msgid "Jersey"
1050
  msgstr ""
1051
 
1052
+ #: admin/class-settings.php:610
1053
  msgid "Jordan"
1054
  msgstr ""
1055
 
1056
+ #: admin/class-settings.php:611
1057
  msgid "Kazakhstan"
1058
  msgstr ""
1059
 
1060
+ #: admin/class-settings.php:612
1061
  msgid "Kenya"
1062
  msgstr ""
1063
 
1064
+ #: admin/class-settings.php:613
1065
  msgid "Kiribati"
1066
  msgstr ""
1067
 
1068
+ #: admin/class-settings.php:614
1069
  msgid "Kosovo"
1070
  msgstr ""
1071
 
1072
+ #: admin/class-settings.php:615
1073
  msgid "Kuwait"
1074
  msgstr ""
1075
 
1076
+ #: admin/class-settings.php:616
1077
  msgid "Kyrgyzstan"
1078
  msgstr ""
1079
 
1080
+ #: admin/class-settings.php:617
1081
  msgid "Laos"
1082
  msgstr ""
1083
 
1084
+ #: admin/class-settings.php:618
1085
  msgid "Latvia"
1086
  msgstr ""
1087
 
1088
+ #: admin/class-settings.php:619
1089
  msgid "Lebanon"
1090
  msgstr ""
1091
 
1092
+ #: admin/class-settings.php:620
1093
  msgid "Lesotho"
1094
  msgstr ""
1095
 
1096
+ #: admin/class-settings.php:621
1097
  msgid "Liberia"
1098
  msgstr ""
1099
 
1100
+ #: admin/class-settings.php:622
1101
  msgid "Libya"
1102
  msgstr ""
1103
 
1104
+ #: admin/class-settings.php:623
1105
  msgid "Liechtenstein"
1106
  msgstr ""
1107
 
1108
+ #: admin/class-settings.php:624
1109
  msgid "Lithuania"
1110
  msgstr ""
1111
 
1112
+ #: admin/class-settings.php:625
1113
  msgid "Luxembourg"
1114
  msgstr ""
1115
 
1116
+ #: admin/class-settings.php:626
1117
  msgid "Macau"
1118
  msgstr ""
1119
 
1120
+ #: admin/class-settings.php:627
1121
  msgid "Macedonia (FYROM)"
1122
  msgstr ""
1123
 
1124
+ #: admin/class-settings.php:628
1125
  msgid "Madagascar"
1126
  msgstr ""
1127
 
1128
+ #: admin/class-settings.php:629
1129
  msgid "Malawi"
1130
  msgstr ""
1131
 
1132
+ #: admin/class-settings.php:630
1133
  msgid "Malaysia "
1134
  msgstr ""
1135
 
1136
+ #: admin/class-settings.php:631
1137
  msgid "Maldives "
1138
  msgstr ""
1139
 
1140
+ #: admin/class-settings.php:632
1141
  msgid "Mali"
1142
  msgstr ""
1143
 
1144
+ #: admin/class-settings.php:633
1145
  msgid "Malta"
1146
  msgstr ""
1147
 
1148
+ #: admin/class-settings.php:634
1149
  msgid "Marshall Islands"
1150
  msgstr ""
1151
 
1152
+ #: admin/class-settings.php:635
1153
  msgid "Martinique"
1154
  msgstr ""
1155
 
1156
+ #: admin/class-settings.php:636
1157
  msgid "Mauritania"
1158
  msgstr ""
1159
 
1160
+ #: admin/class-settings.php:637
1161
  msgid "Mauritius"
1162
  msgstr ""
1163
 
1164
+ #: admin/class-settings.php:638
1165
  msgid "Mayotte"
1166
  msgstr ""
1167
 
1168
+ #: admin/class-settings.php:639
1169
  msgid "Mexico"
1170
  msgstr ""
1171
 
1172
+ #: admin/class-settings.php:640
1173
  msgid "Micronesia"
1174
  msgstr ""
1175
 
1176
+ #: admin/class-settings.php:641
1177
  msgid "Moldova"
1178
  msgstr ""
1179
 
1180
+ #: admin/class-settings.php:642
1181
  msgid "Monaco"
1182
  msgstr ""
1183
 
1184
+ #: admin/class-settings.php:643
1185
  msgid "Mongolia"
1186
  msgstr ""
1187
 
1188
+ #: admin/class-settings.php:644
1189
  msgid "Montenegro"
1190
  msgstr ""
1191
 
1192
+ #: admin/class-settings.php:645
1193
  msgid "Montserrat"
1194
  msgstr ""
1195
 
1196
+ #: admin/class-settings.php:646
1197
  msgid "Morocco"
1198
  msgstr ""
1199
 
1200
+ #: admin/class-settings.php:647
1201
  msgid "Mozambique"
1202
  msgstr ""
1203
 
1204
+ #: admin/class-settings.php:648
1205
  msgid "Myanmar (Burma)"
1206
  msgstr ""
1207
 
1208
+ #: admin/class-settings.php:649
1209
  msgid "Namibia"
1210
  msgstr ""
1211
 
1212
+ #: admin/class-settings.php:650
1213
  msgid "Nauru"
1214
  msgstr ""
1215
 
1216
+ #: admin/class-settings.php:651
1217
  msgid "Nepal"
1218
  msgstr ""
1219
 
1220
+ #: admin/class-settings.php:652
1221
  msgid "Netherlands"
1222
  msgstr ""
1223
 
1224
+ #: admin/class-settings.php:653
1225
  msgid "Netherlands Antilles"
1226
  msgstr ""
1227
 
1228
+ #: admin/class-settings.php:654
1229
  msgid "New Caledonia"
1230
  msgstr ""
1231
 
1232
+ #: admin/class-settings.php:655
1233
  msgid "New Zealand"
1234
  msgstr ""
1235
 
1236
+ #: admin/class-settings.php:656
1237
  msgid "Nicaragua"
1238
  msgstr ""
1239
 
1240
+ #: admin/class-settings.php:657
1241
  msgid "Niger"
1242
  msgstr ""
1243
 
1244
+ #: admin/class-settings.php:658
1245
  msgid "Nigeria"
1246
  msgstr ""
1247
 
1248
+ #: admin/class-settings.php:659
1249
  msgid "Niue"
1250
  msgstr ""
1251
 
1252
+ #: admin/class-settings.php:660
1253
  msgid "Norfolk Island"
1254
  msgstr ""
1255
 
1256
+ #: admin/class-settings.php:661
1257
  msgid "North Korea"
1258
  msgstr ""
1259
 
1260
+ #: admin/class-settings.php:662
1261
  msgid "Northern Mariana Islands"
1262
  msgstr ""
1263
 
1264
+ #: admin/class-settings.php:663
1265
  msgid "Norway"
1266
  msgstr ""
1267
 
1268
+ #: admin/class-settings.php:664
1269
  msgid "Oman"
1270
  msgstr ""
1271
 
1272
+ #: admin/class-settings.php:665
1273
  msgid "Pakistan"
1274
  msgstr ""
1275
 
1276
+ #: admin/class-settings.php:666
1277
  msgid "Palau"
1278
  msgstr ""
1279
 
1280
+ #: admin/class-settings.php:667
1281
  msgid "Palestine"
1282
  msgstr ""
1283
 
1284
+ #: admin/class-settings.php:668
1285
  msgid "Panama"
1286
  msgstr ""
1287
 
1288
+ #: admin/class-settings.php:669
1289
  msgid "Papua New Guinea"
1290
  msgstr ""
1291
 
1292
+ #: admin/class-settings.php:670
1293
  msgid "Paraguay"
1294
  msgstr ""
1295
 
1296
+ #: admin/class-settings.php:671
1297
  msgid "Peru"
1298
  msgstr ""
1299
 
1300
+ #: admin/class-settings.php:672
1301
  msgid "Philippines"
1302
  msgstr ""
1303
 
1304
+ #: admin/class-settings.php:673
1305
  msgid "Pitcairn Islands"
1306
  msgstr ""
1307
 
1308
+ #: admin/class-settings.php:674
1309
  msgid "Poland"
1310
  msgstr ""
1311
 
1312
+ #: admin/class-settings.php:675
1313
  msgid "Portugal"
1314
  msgstr ""
1315
 
1316
+ #: admin/class-settings.php:676
1317
  msgid "Puerto Rico"
1318
  msgstr ""
1319
 
1320
+ #: admin/class-settings.php:677
1321
  msgid "Qatar"
1322
  msgstr ""
1323
 
1324
+ #: admin/class-settings.php:678
1325
  msgid "Reunion"
1326
  msgstr ""
1327
 
1328
+ #: admin/class-settings.php:679
1329
  msgid "Romania"
1330
  msgstr ""
1331
 
1332
+ #: admin/class-settings.php:680
1333
  msgid "Russia"
1334
  msgstr ""
1335
 
1336
+ #: admin/class-settings.php:681
1337
  msgid "Rwanda"
1338
  msgstr ""
1339
 
1340
+ #: admin/class-settings.php:682
1341
  msgid "Saint Helena"
1342
  msgstr ""
1343
 
1344
+ #: admin/class-settings.php:683
1345
  msgid "Saint Kitts and Nevis"
1346
  msgstr ""
1347
 
1348
+ #: admin/class-settings.php:684
1349
  msgid "Saint Vincent and the Grenadines"
1350
  msgstr ""
1351
 
1352
+ #: admin/class-settings.php:685
1353
  msgid "Saint Lucia"
1354
  msgstr ""
1355
 
1356
+ #: admin/class-settings.php:686
1357
  msgid "Samoa"
1358
  msgstr ""
1359
 
1360
+ #: admin/class-settings.php:687
1361
  msgid "San Marino"
1362
  msgstr ""
1363
 
1364
+ #: admin/class-settings.php:688
1365
  msgid "São Tomé and Príncipe"
1366
  msgstr ""
1367
 
1368
+ #: admin/class-settings.php:689
1369
  msgid "Saudi Arabia"
1370
  msgstr ""
1371
 
1372
+ #: admin/class-settings.php:690
1373
  msgid "Senegal"
1374
  msgstr ""
1375
 
1376
+ #: admin/class-settings.php:691
1377
  msgid "Serbia"
1378
  msgstr ""
1379
 
1380
+ #: admin/class-settings.php:692
1381
  msgid "Seychelles"
1382
  msgstr ""
1383
 
1384
+ #: admin/class-settings.php:693
1385
  msgid "Sierra Leone"
1386
  msgstr ""
1387
 
1388
+ #: admin/class-settings.php:694
1389
  msgid "Singapore"
1390
  msgstr ""
1391
 
1392
+ #: admin/class-settings.php:695
1393
  msgid "Sint Maarten"
1394
  msgstr ""
1395
 
1396
+ #: admin/class-settings.php:696
1397
  msgid "Slovakia"
1398
  msgstr ""
1399
 
1400
+ #: admin/class-settings.php:697
1401
  msgid "Slovenia"
1402
  msgstr ""
1403
 
1404
+ #: admin/class-settings.php:698
1405
  msgid "Solomon Islands"
1406
  msgstr ""
1407
 
1408
+ #: admin/class-settings.php:699
1409
  msgid "Somalia"
1410
  msgstr ""
1411
 
1412
+ #: admin/class-settings.php:700
1413
  msgid "South Africa"
1414
  msgstr ""
1415
 
1416
+ #: admin/class-settings.php:701
1417
  msgid "South Georgia and South Sandwich Islands"
1418
  msgstr ""
1419
 
1420
+ #: admin/class-settings.php:702
1421
  msgid "South Korea"
1422
  msgstr ""
1423
 
1424
+ #: admin/class-settings.php:703
1425
  msgid "South Sudan"
1426
  msgstr ""
1427
 
1428
+ #: admin/class-settings.php:704
1429
  msgid "Spain"
1430
  msgstr ""
1431
 
1432
+ #: admin/class-settings.php:705
1433
  msgid "Sri Lanka"
1434
  msgstr ""
1435
 
1436
+ #: admin/class-settings.php:706
1437
  msgid "Sudan"
1438
  msgstr ""
1439
 
1440
+ #: admin/class-settings.php:707
1441
  msgid "Swaziland"
1442
  msgstr ""
1443
 
1444
+ #: admin/class-settings.php:708
1445
  msgid "Sweden"
1446
  msgstr ""
1447
 
1448
+ #: admin/class-settings.php:709
1449
  msgid "Switzerland"
1450
  msgstr ""
1451
 
1452
+ #: admin/class-settings.php:710
1453
  msgid "Syria"
1454
  msgstr ""
1455
 
1456
+ #: admin/class-settings.php:711
1457
  msgid "São Tomé & Príncipe"
1458
  msgstr ""
1459
 
1460
+ #: admin/class-settings.php:712
1461
  msgid "Taiwan"
1462
  msgstr ""
1463
 
1464
+ #: admin/class-settings.php:713
1465
  msgid "Tajikistan"
1466
  msgstr ""
1467
 
1468
+ #: admin/class-settings.php:714
1469
  msgid "Tanzania"
1470
  msgstr ""
1471
 
1472
+ #: admin/class-settings.php:715
1473
  msgid "Thailand"
1474
  msgstr ""
1475
 
1476
+ #: admin/class-settings.php:716
1477
  msgid "Timor-Leste"
1478
  msgstr ""
1479
 
1480
+ #: admin/class-settings.php:717 admin/class-settings.php:719
1481
  msgid "Tokelau"
1482
  msgstr ""
1483
 
1484
+ #: admin/class-settings.php:718
1485
  msgid "Togo"
1486
  msgstr ""
1487
 
1488
+ #: admin/class-settings.php:720
1489
  msgid "Tonga"
1490
  msgstr ""
1491
 
1492
+ #: admin/class-settings.php:721
1493
  msgid "Trinidad and Tobago"
1494
  msgstr ""
1495
 
1496
+ #: admin/class-settings.php:722
1497
  msgid "Tristan da Cunha"
1498
  msgstr ""
1499
 
1500
+ #: admin/class-settings.php:723
1501
  msgid "Tunisia"
1502
  msgstr ""
1503
 
1504
+ #: admin/class-settings.php:724
1505
  msgid "Turkey"
1506
  msgstr ""
1507
 
1508
+ #: admin/class-settings.php:725
1509
  msgid "Turkmenistan"
1510
  msgstr ""
1511
 
1512
+ #: admin/class-settings.php:726
1513
  msgid "Turks and Caicos Islands"
1514
  msgstr ""
1515
 
1516
+ #: admin/class-settings.php:727
1517
  msgid "Tuvalu"
1518
  msgstr ""
1519
 
1520
+ #: admin/class-settings.php:728
1521
  msgid "Uganda"
1522
  msgstr ""
1523
 
1524
+ #: admin/class-settings.php:729
1525
  msgid "Ukraine"
1526
  msgstr ""
1527
 
1528
+ #: admin/class-settings.php:730
1529
  msgid "United Arab Emirates"
1530
  msgstr ""
1531
 
1532
+ #: admin/class-settings.php:731
1533
  msgid "United Kingdom"
1534
  msgstr ""
1535
 
1536
+ #: admin/class-settings.php:732
1537
  msgid "United States"
1538
  msgstr ""
1539
 
1540
+ #: admin/class-settings.php:733
1541
  msgid "Uruguay"
1542
  msgstr ""
1543
 
1544
+ #: admin/class-settings.php:734
1545
  msgid "Uzbekistan"
1546
  msgstr ""
1547
 
1548
+ #: admin/class-settings.php:735
1549
  msgid "Vanuatu"
1550
  msgstr ""
1551
 
1552
+ #: admin/class-settings.php:736
1553
  msgid "Vatican City"
1554
  msgstr ""
1555
 
1556
+ #: admin/class-settings.php:737
1557
  msgid "Venezuela"
1558
  msgstr ""
1559
 
1560
+ #: admin/class-settings.php:738
1561
  msgid "Vietnam"
1562
  msgstr ""
1563
 
1564
+ #: admin/class-settings.php:739
1565
  msgid "Wallis Futuna"
1566
  msgstr ""
1567
 
1568
+ #: admin/class-settings.php:740
1569
  msgid "Western Sahara"
1570
  msgstr ""
1571
 
1572
+ #: admin/class-settings.php:741
1573
  msgid "Yemen"
1574
  msgstr ""
1575
 
1576
+ #: admin/class-settings.php:742
1577
  msgid "Zambia"
1578
  msgstr ""
1579
 
1580
+ #: admin/class-settings.php:743
1581
  msgid "Zimbabwe"
1582
  msgstr ""
1583
 
1584
+ #: admin/class-settings.php:744
1585
  msgid "Åland Islands"
1586
  msgstr ""
1587
 
1588
+ #: admin/class-settings.php:787
1589
  msgid "World view"
1590
  msgstr ""
1591
 
1592
+ #: admin/class-settings.php:790 admin/class-settings.php:904
1593
+ #: inc/wpsl-functions.php:216
1594
  msgid "Default"
1595
  msgstr ""
1596
 
1597
+ #: admin/class-settings.php:793 inc/wpsl-functions.php:289
1598
  msgid "Roadmap"
1599
  msgstr ""
1600
 
1601
+ #: admin/class-settings.php:934
1602
  msgid "Start location marker"
1603
  msgstr ""
1604
 
1605
+ #: admin/class-settings.php:936
1606
  msgid "Store location marker"
1607
  msgstr ""
1608
 
1609
+ #: admin/class-settings.php:1018
1610
  msgid "Textarea"
1611
  msgstr ""
1612
 
1613
+ #: admin/class-settings.php:1019
1614
  msgid "Dropdowns (recommended)"
1615
  msgstr ""
1616
 
1617
+ #: admin/class-settings.php:1027
1618
  msgid "Bounces up and down"
1619
  msgstr ""
1620
 
1621
+ #: admin/class-settings.php:1028
1622
  msgid "Will open the info window"
1623
  msgstr ""
1624
 
1625
+ #: admin/class-settings.php:1029
1626
  msgid "Does not respond"
1627
  msgstr ""
1628
 
1629
+ #: admin/class-settings.php:1037
1630
  msgid "In the store listings"
1631
  msgstr ""
1632
 
1633
+ #: admin/class-settings.php:1038
1634
  msgid "In the info window on the map"
1635
  msgstr ""
1636
 
1637
+ #: admin/class-settings.php:1070
1638
  msgid "Dropdown"
1639
  msgstr ""
1640
 
1641
+ #: admin/class-settings.php:1071
1642
  msgid "Checkboxes"
1643
  msgstr ""
1644
 
1645
+ #: admin/class-settings.php:1103
1646
  msgid "12 Hours"
1647
  msgstr ""
1648
 
1649
+ #: admin/class-settings.php:1104
1650
  msgid "24 Hours"
1651
  msgstr ""
1652
 
1687
  msgstr ""
1688
 
1689
  #: admin/templates/map-settings.php:79 admin/templates/map-settings.php:118
1690
+ #: admin/templates/map-settings.php:170 admin/templates/map-settings.php:253
1691
+ #: admin/templates/map-settings.php:356 admin/templates/map-settings.php:384
1692
+ #: admin/templates/map-settings.php:434 admin/templates/map-settings.php:462
1693
+ #: admin/templates/map-settings.php:574 admin/templates/map-settings.php:599
1694
  msgid "Save Changes"
1695
  msgstr ""
1696
 
1755
  "restrictions with %sthis%s filter."
1756
  msgstr ""
1757
 
1758
+ #: admin/templates/map-settings.php:128 admin/templates/map-settings.php:498
1759
+ #: admin/templates/map-settings.php:499 frontend/templates/default.php:44
1760
+ #: frontend/templates/store-listings-below.php:44 inc/wpsl-functions.php:133
1761
  msgid "Search"
1762
  msgstr ""
1763
 
1849
  msgstr ""
1850
 
1851
  #: admin/templates/map-settings.php:202
1852
+ msgid "Auto adjust the zoom level to make sure all markers are visible?"
1853
+ msgstr ""
1854
+
1855
+ #: admin/templates/map-settings.php:202
1856
+ msgid ""
1857
+ "This runs after a search is made, and makes sure all the returned locations "
1858
+ "are visible in the viewport."
1859
  msgstr ""
1860
 
1861
  #: admin/templates/map-settings.php:206
1862
+ msgid "Initial zoom level"
1863
+ msgstr ""
1864
+
1865
+ #: admin/templates/map-settings.php:210
1866
  msgid "Max auto zoom level"
1867
  msgstr ""
1868
 
1869
+ #: admin/templates/map-settings.php:210
1870
  #, php-format
1871
  msgid ""
1872
  "This value sets the zoom level for the \"Zoom here\" link in the info "
1874
  "is changed to make all the markers fit on the screen."
1875
  msgstr ""
1876
 
1877
+ #: admin/templates/map-settings.php:214
1878
  msgid "Show the street view controls?"
1879
  msgstr ""
1880
 
1881
+ #: admin/templates/map-settings.php:218
1882
  msgid "Show the map type control?"
1883
  msgstr ""
1884
 
1885
+ #: admin/templates/map-settings.php:222
1886
  msgid "Enable scroll wheel zooming?"
1887
  msgstr ""
1888
 
1889
+ #: admin/templates/map-settings.php:226
1890
  msgid "Zoom control position"
1891
  msgstr ""
1892
 
1893
+ #: admin/templates/map-settings.php:229
1894
  msgid "Left"
1895
  msgstr ""
1896
 
1897
+ #: admin/templates/map-settings.php:231
1898
  msgid "Right"
1899
  msgstr ""
1900
 
1901
+ #: admin/templates/map-settings.php:235
1902
  msgid "Map type"
1903
  msgstr ""
1904
 
1905
+ #: admin/templates/map-settings.php:239
1906
  msgid "Map style"
1907
  msgstr ""
1908
 
1909
+ #: admin/templates/map-settings.php:239
1910
  msgid ""
1911
  "Custom map styles only work if the map type is set to \"Roadmap\" or "
1912
  "\"Terrain\"."
1913
  msgstr ""
1914
 
1915
+ #: admin/templates/map-settings.php:242
1916
  #, php-format
1917
  msgid ""
1918
  "You can use existing map styles from %sSnazzy Maps%s or %sMap Stylr%s and "
1920
  "through the %sMap Style Editor%s or %sStyled Maps Wizard%s."
1921
  msgstr ""
1922
 
1923
+ #: admin/templates/map-settings.php:243
1924
  #, php-format
1925
  msgid ""
1926
  "If you like to write the style code yourself, then you can find the "
1927
  "documentation from Google %shere%s."
1928
  msgstr ""
1929
 
1930
+ #: admin/templates/map-settings.php:245
1931
  msgid "Preview Map Style"
1932
  msgstr ""
1933
 
1934
+ #: admin/templates/map-settings.php:249
1935
  msgid "Show credits?"
1936
  msgstr ""
1937
 
1938
+ #: admin/templates/map-settings.php:249
1939
  msgid ""
1940
  "This will place a \"Search provided by WP Store Locator\" backlink below the "
1941
  "map."
1942
  msgstr ""
1943
 
1944
+ #: admin/templates/map-settings.php:263
1945
  msgid "User Experience"
1946
  msgstr ""
1947
 
1948
+ #: admin/templates/map-settings.php:266
1949
  msgid "Store Locator height"
1950
  msgstr ""
1951
 
1952
+ #: admin/templates/map-settings.php:270
1953
  msgid "Max width for the info window content"
1954
  msgstr ""
1955
 
1956
+ #: admin/templates/map-settings.php:274
1957
  msgid "Search field width"
1958
  msgstr ""
1959
 
1960
+ #: admin/templates/map-settings.php:278
1961
  msgid "Search and radius label width"
1962
  msgstr ""
1963
 
1964
+ #: admin/templates/map-settings.php:282
1965
  msgid "Store Locator template"
1966
  msgstr ""
1967
 
1968
+ #: admin/templates/map-settings.php:282
1969
  #, php-format
1970
  msgid ""
1971
  "The selected template is used with the [wpsl] shortcode. %s You can add a "
1972
  "custom template with the %swpsl_templates%s filter."
1973
  msgstr ""
1974
 
1975
+ #: admin/templates/map-settings.php:286
1976
  msgid "Hide the scrollbar?"
1977
  msgstr ""
1978
 
1979
+ #: admin/templates/map-settings.php:290
1980
  msgid "Open links in a new window?"
1981
  msgstr ""
1982
 
1983
+ #: admin/templates/map-settings.php:294
1984
  msgid "Show a reset map button?"
1985
  msgstr ""
1986
 
1987
+ #: admin/templates/map-settings.php:298
1988
  msgid ""
1989
  "When a user clicks on \"Directions\", open a new window, and show the route "
1990
  "on google.com/maps ?"
1991
  msgstr ""
1992
 
1993
+ #: admin/templates/map-settings.php:302
1994
  msgid "Show a \"More info\" link in the store listings?"
1995
  msgstr ""
1996
 
1997
+ #: admin/templates/map-settings.php:302
1998
  msgid ""
1999
  "This places a \"More Info\" link below the address and will show the phone, "
2000
  "fax, email, opening hours and description once the link is clicked."
2001
  msgstr ""
2002
 
2003
+ #: admin/templates/map-settings.php:307
2004
  msgid "Where do you want to show the \"More info\" details?"
2005
  msgstr ""
2006
 
2007
+ #: admin/templates/map-settings.php:312
2008
  msgid ""
2009
  "Always show the contact details below the address in the search results?"
2010
  msgstr ""
2011
 
2012
+ #: admin/templates/map-settings.php:316
2013
  msgid "Make the store name clickable if a store URL exists?"
2014
  msgstr ""
2015
 
2016
+ #: admin/templates/map-settings.php:316
2017
  #, php-format
2018
  msgid ""
2019
  "If %spermalinks%s are enabled, the store name will always link to the store "
2020
  "page."
2021
  msgstr ""
2022
 
2023
+ #: admin/templates/map-settings.php:320
2024
  msgid "Make the phone number clickable on mobile devices?"
2025
  msgstr ""
2026
 
2027
+ #: admin/templates/map-settings.php:324
2028
  msgid ""
2029
  "If street view is available for the current location, then show a \"Street "
2030
  "view\" link in the info window?"
2031
  msgstr ""
2032
 
2033
+ #: admin/templates/map-settings.php:324
2034
  #, php-format
2035
  msgid ""
2036
  "Enabling this option can sometimes result in a small delay in the opening of "
2038
  "Maps to check if street view is available for the current location."
2039
  msgstr ""
2040
 
2041
+ #: admin/templates/map-settings.php:328
2042
  msgid "Show a \"Zoom here\" link in the info window?"
2043
  msgstr ""
2044
 
2045
+ #: admin/templates/map-settings.php:328
2046
  #, php-format
2047
  msgid ""
2048
  "Clicking this link will make the map zoom in to the %s max auto zoom level "
2049
  "%s."
2050
  msgstr ""
2051
 
2052
+ #: admin/templates/map-settings.php:332
2053
  msgid "On page load move the mouse cursor to the search field?"
2054
  msgstr ""
2055
 
2056
+ #: admin/templates/map-settings.php:332
2057
  #, php-format
2058
  msgid ""
2059
  "If the store locator is not placed at the top of the page, enabling this "
2061
  "on mobile devices.%s"
2062
  msgstr ""
2063
 
2064
+ #: admin/templates/map-settings.php:336
2065
  msgid "Use the default style for the info window?"
2066
  msgstr ""
2067
 
2068
+ #: admin/templates/map-settings.php:336
2069
  #, php-format
2070
  msgid ""
2071
  "If the default style is disabled the %sInfoBox%s library will be used "
2073
  "window through the .wpsl-infobox css class."
2074
  msgstr ""
2075
 
2076
+ #: admin/templates/map-settings.php:340
2077
  msgid "Hide the country in the search results?"
2078
  msgstr ""
2079
 
2080
+ #: admin/templates/map-settings.php:344
2081
  msgid "Hide the distance in the search results?"
2082
  msgstr ""
2083
 
2084
+ #: admin/templates/map-settings.php:348
2085
  msgid "If a user hovers over the search results the store marker"
2086
  msgstr ""
2087
 
2088
+ #: admin/templates/map-settings.php:348
2089
  #, php-format
2090
  msgid ""
2091
  "If marker clusters are enabled this option will not work as expected as long "
2095
  "it won't be clear to which marker it belongs to. "
2096
  msgstr ""
2097
 
2098
+ #: admin/templates/map-settings.php:352
2099
  msgid "Address format"
2100
  msgstr ""
2101
 
2102
+ #: admin/templates/map-settings.php:352
2103
  #, php-format
2104
  msgid ""
2105
  "You can add custom address formats with the %swpsl_address_formats%s filter."
2106
  msgstr ""
2107
 
2108
+ #: admin/templates/map-settings.php:366
2109
  msgid "Markers"
2110
  msgstr ""
2111
 
2112
+ #: admin/templates/map-settings.php:370
2113
  msgid "Enable marker clusters?"
2114
  msgstr ""
2115
 
2116
+ #: admin/templates/map-settings.php:370
2117
  msgid "Recommended for maps with a large amount of markers."
2118
  msgstr ""
2119
 
2120
+ #: admin/templates/map-settings.php:375
2121
  msgid "Max zoom level"
2122
  msgstr ""
2123
 
2124
+ #: admin/templates/map-settings.php:375
2125
  msgid ""
2126
  "If this zoom level is reached or exceeded, then all markers are moved out of "
2127
  "the marker cluster and shown as individual markers."
2128
  msgstr ""
2129
 
2130
+ #: admin/templates/map-settings.php:379
2131
  msgid "Cluster size"
2132
  msgstr ""
2133
 
2134
+ #: admin/templates/map-settings.php:379
2135
  #, php-format
2136
  msgid ""
2137
  "The grid size of a cluster in pixels. %s A larger number will result in a "
2138
  "lower amount of clusters and also make the algorithm run faster."
2139
  msgstr ""
2140
 
2141
+ #: admin/templates/map-settings.php:394
2142
  msgid "Store Editor"
2143
  msgstr ""
2144
 
2145
+ #: admin/templates/map-settings.php:397
2146
  msgid "Default country"
2147
  msgstr ""
2148
 
2149
+ #: admin/templates/map-settings.php:401
2150
  msgid "Map type for the location preview"
2151
  msgstr ""
2152
 
2153
+ #: admin/templates/map-settings.php:405
2154
  msgid "Hide the opening hours?"
2155
  msgstr ""
2156
 
2157
+ #: admin/templates/map-settings.php:411
2158
  msgid "Opening hours input type"
2159
  msgstr ""
2160
 
2161
+ #: admin/templates/map-settings.php:415
2162
  #, php-format
2163
  msgid ""
2164
  "Opening hours created in version 1.x %sare not%s automatically converted to "
2165
  "the new dropdown format."
2166
  msgstr ""
2167
 
2168
+ #: admin/templates/map-settings.php:418 admin/templates/map-settings.php:427
2169
  msgid "The default opening hours"
2170
  msgstr ""
2171
 
2172
+ #: admin/templates/map-settings.php:424
2173
  msgid "Opening hours format"
2174
  msgstr ""
2175
 
2176
+ #: admin/templates/map-settings.php:431
2177
  msgid ""
2178
  "The default country and opening hours are only used when a new store is "
2179
  "created. So changing the default values will have no effect on existing "
2180
  "store locations."
2181
  msgstr ""
2182
 
2183
+ #: admin/templates/map-settings.php:444
2184
  msgid "Permalink"
2185
  msgstr ""
2186
 
2187
+ #: admin/templates/map-settings.php:447
2188
  msgid "Enable permalink?"
2189
  msgstr ""
2190
 
2191
+ #: admin/templates/map-settings.php:452
2192
  msgid "Store slug"
2193
  msgstr ""
2194
 
2195
+ #: admin/templates/map-settings.php:456
2196
  msgid "Category slug"
2197
  msgstr ""
2198
 
2199
+ #: admin/templates/map-settings.php:459
2200
  #, php-format
2201
  msgid "The permalink slugs %smust be unique%s on your site."
2202
  msgstr ""
2203
 
2204
+ #: admin/templates/map-settings.php:472
2205
  msgid "Labels"
2206
  msgstr ""
2207
 
2208
+ #: admin/templates/map-settings.php:481
2209
  #, php-format
2210
  msgid "%sWarning!%s %sWPML%s, or a plugin using the WPML API is active."
2211
  msgstr ""
2212
 
2213
+ #: admin/templates/map-settings.php:482
2214
  msgid ""
2215
  "Please use the \"String Translations\" section in the used multilingual "
2216
  "plugin to change the labels. Changing them here will have no effect as long "
2217
  "as the multilingual plugin remains active."
2218
  msgstr ""
2219
 
2220
+ #: admin/templates/map-settings.php:486 admin/templates/map-settings.php:487
2221
  #: frontend/templates/default.php:12
2222
+ #: frontend/templates/store-listings-below.php:12 inc/wpsl-functions.php:132
2223
  msgid "Your location"
2224
  msgstr ""
2225
 
2226
+ #: admin/templates/map-settings.php:490 admin/templates/map-settings.php:491
2227
  #: frontend/templates/default.php:21
2228
+ #: frontend/templates/store-listings-below.php:21 inc/wpsl-functions.php:135
2229
  msgid "Search radius"
2230
  msgstr ""
2231
 
2232
+ #: admin/templates/map-settings.php:494 admin/templates/map-settings.php:495
2233
+ #: frontend/class-frontend.php:1719 inc/wpsl-functions.php:136
2234
  msgid "No results found"
2235
  msgstr ""
2236
 
2237
+ #: admin/templates/map-settings.php:502
2238
  msgid "Searching (preloader text)"
2239
  msgstr ""
2240
 
2241
+ #: admin/templates/map-settings.php:503 frontend/class-frontend.php:1718
2242
+ #: inc/wpsl-functions.php:134
2243
  msgid "Searching..."
2244
  msgstr ""
2245
 
2246
+ #: admin/templates/map-settings.php:506 admin/templates/map-settings.php:507
2247
  #: frontend/templates/default.php:30
2248
+ #: frontend/templates/store-listings-below.php:30 inc/wpsl-functions.php:137
2249
  msgid "Results"
2250
  msgstr ""
2251
 
2252
+ #: admin/templates/map-settings.php:510 admin/upgrade.php:206
2253
+ #: inc/wpsl-functions.php:151
2254
  msgid "Category filter"
2255
  msgstr ""
2256
 
2257
+ #: admin/templates/map-settings.php:511 frontend/class-frontend.php:1336
2258
  msgid "Category"
2259
  msgstr ""
2260
 
2261
+ #: admin/templates/map-settings.php:514
2262
  msgid "Category first item"
2263
  msgstr ""
2264
 
2265
+ #: admin/templates/map-settings.php:515 admin/upgrade.php:367
2266
+ #: frontend/class-frontend.php:1339 inc/wpsl-functions.php:152
2267
  msgid "Any"
2268
  msgstr ""
2269
 
2270
+ #: admin/templates/map-settings.php:518 admin/templates/map-settings.php:519
2271
+ #: admin/upgrade.php:59 frontend/class-frontend.php:1720
2272
  #: frontend/underscore-functions.php:138 frontend/underscore-functions.php:168
2273
+ #: inc/wpsl-functions.php:138
2274
  msgid "More info"
2275
  msgstr ""
2276
 
2277
+ #: admin/templates/map-settings.php:522 admin/templates/map-settings.php:523
2278
  #: frontend/class-frontend.php:804 frontend/underscore-functions.php:29
2279
  #: frontend/underscore-functions.php:65 frontend/underscore-functions.php:147
2280
+ #: inc/wpsl-functions.php:146
2281
  msgid "Phone"
2282
  msgstr ""
2283
 
2284
+ #: admin/templates/map-settings.php:542 admin/templates/map-settings.php:543
2285
+ #: frontend/class-frontend.php:1725 inc/wpsl-functions.php:131
2286
  msgid "Start location"
2287
  msgstr ""
2288
 
2289
+ #: admin/templates/map-settings.php:546
2290
  msgid "Get directions"
2291
  msgstr ""
2292
 
2293
+ #: admin/templates/map-settings.php:547 frontend/class-frontend.php:1723
2294
+ #: inc/wpsl-functions.php:139
2295
  msgid "Directions"
2296
  msgstr ""
2297
 
2298
+ #: admin/templates/map-settings.php:550
2299
  msgid "No directions found"
2300
  msgstr ""
2301
 
2302
+ #: admin/templates/map-settings.php:551 admin/upgrade.php:151
2303
+ #: frontend/class-frontend.php:1724 inc/wpsl-functions.php:140
2304
  msgid "No route could be found between the origin and destination"
2305
  msgstr ""
2306
 
 
 
 
 
 
 
2307
  #: admin/templates/map-settings.php:554 admin/templates/map-settings.php:555
2308
+ #: admin/upgrade.php:77 frontend/class-frontend.php:1726
2309
  #: inc/wpsl-functions.php:141
2310
+ msgid "Back"
2311
  msgstr ""
2312
 
2313
  #: admin/templates/map-settings.php:558 admin/templates/map-settings.php:559
2314
+ #: admin/upgrade.php:143 frontend/class-frontend.php:1727
2315
  #: inc/wpsl-functions.php:142
2316
+ msgid "Street view"
2317
+ msgstr ""
2318
+
2319
+ #: admin/templates/map-settings.php:562 admin/templates/map-settings.php:563
2320
+ #: admin/upgrade.php:147 frontend/class-frontend.php:1728
2321
+ #: inc/wpsl-functions.php:143
2322
  msgid "Zoom here"
2323
  msgstr ""
2324
 
2325
+ #: admin/templates/map-settings.php:566
2326
  msgid "General error"
2327
  msgstr ""
2328
 
2329
+ #: admin/templates/map-settings.php:567 frontend/class-frontend.php:1721
2330
+ #: inc/wpsl-functions.php:144
2331
  msgid "Something went wrong, please try again!"
2332
  msgstr ""
2333
 
2334
+ #: admin/templates/map-settings.php:570
2335
  msgid "Query limit error"
2336
  msgstr ""
2337
 
2338
+ #: admin/templates/map-settings.php:570
2339
  #, php-format
2340
  msgid ""
2341
  "You can raise the %susage limit%s by obtaining an API %skey%s, and fill in "
2342
  "the \"API key\" field at the top of this page."
2343
  msgstr ""
2344
 
2345
+ #: admin/templates/map-settings.php:571 frontend/class-frontend.php:1722
2346
+ #: inc/wpsl-functions.php:145
2347
  msgid "API usage limit reached"
2348
  msgstr ""
2349
 
2350
+ #: admin/templates/map-settings.php:584
2351
  msgid "Tools"
2352
  msgstr ""
2353
 
2354
+ #: admin/templates/map-settings.php:587
2355
  msgid "Enable store locator debug?"
2356
  msgstr ""
2357
 
2358
+ #: admin/templates/map-settings.php:587
2359
  #, php-format
2360
  msgid ""
2361
  "This disables the WPSL transient cache. %sThe transient cache is only used "
2362
  "if the %sLoad locations on page load%s option is enabled."
2363
  msgstr ""
2364
 
2365
+ #: admin/templates/map-settings.php:591
2366
  msgid "Enable compatibility mode?"
2367
  msgstr ""
2368
 
2369
+ #: admin/templates/map-settings.php:591
2370
  #, php-format
2371
  msgid ""
2372
  "If the %sbrowser console%s shows the error below, then enabling this option "
2375
  "situations break the store locator map."
2376
  msgstr ""
2377
 
2378
+ #: admin/templates/map-settings.php:595
2379
  msgid "WPSL transients"
2380
  msgstr ""
2381
 
2382
+ #: admin/templates/map-settings.php:596
2383
  msgid "Clear store locator transient cache"
2384
  msgstr ""
2385
 
2391
  msgid "Reset"
2392
  msgstr ""
2393
 
2394
+ #: admin/upgrade.php:174 inc/wpsl-functions.php:125
2395
  msgid "stores"
2396
  msgstr ""
2397
 
2398
+ #: admin/upgrade.php:178 inc/wpsl-functions.php:126
2399
  msgid "store-category"
2400
  msgstr ""
2401
 
2402
+ #: admin/upgrade.php:430
2403
  #, php-format
2404
  msgid ""
2405
  "Because you updated WP Store Locator from version 1.x, the %s current store "
2406
  "locations need to be %sconverted%s to custom post types."
2407
  msgstr ""
2408
 
2409
+ #: admin/upgrade.php:451
2410
  #, php-format
2411
  msgid ""
2412
  "The script converting the locations timed out. %s You can click the \"Start "
2417
  "but if you are reading this then that failed."
2418
  msgstr ""
2419
 
2420
+ #: admin/upgrade.php:472
2421
  msgid "Store locations to convert:"
2422
  msgstr ""
2423
 
2424
+ #: admin/upgrade.php:474
2425
  msgid "Start Converting"
2426
  msgstr ""
2427
 
2428
+ #: admin/upgrade.php:596
2429
  #, php-format
2430
  msgid ""
2431
  "All the store locations are now converted to custom post types. %s You can "
2450
  "set the ID or category attribute."
2451
  msgstr ""
2452
 
2453
+ #: frontend/class-frontend.php:1512
2454
  msgid "The application does not have permission to use the Geolocation API."
2455
  msgstr ""
2456
 
2457
+ #: frontend/class-frontend.php:1513
2458
  msgid "Location information is unavailable."
2459
  msgstr ""
2460
 
2461
+ #: frontend/class-frontend.php:1514
2462
  msgid "The geolocation request timed out."
2463
  msgstr ""
2464
 
2465
+ #: frontend/class-frontend.php:1515
2466
  msgid "An unknown error occurred."
2467
  msgstr ""
2468
 
2560
  msgid "Zip"
2561
  msgstr ""
2562
 
2563
+ #: inc/wpsl-functions.php:221
2564
  msgid "Show the store list below the map"
2565
  msgstr ""
2566
 
2567
+ #: inc/wpsl-functions.php:238
2568
  msgid "Monday"
2569
  msgstr ""
2570
 
2571
+ #: inc/wpsl-functions.php:239
2572
  msgid "Tuesday"
2573
  msgstr ""
2574
 
2575
+ #: inc/wpsl-functions.php:240
2576
  msgid "Wednesday"
2577
  msgstr ""
2578
 
2579
+ #: inc/wpsl-functions.php:241
2580
  msgid "Thursday"
2581
  msgstr ""
2582
 
2583
+ #: inc/wpsl-functions.php:242
2584
  msgid "Friday"
2585
  msgstr ""
2586
 
2587
+ #: inc/wpsl-functions.php:243
2588
  msgid "Saturday"
2589
  msgstr ""
2590
 
2591
+ #: inc/wpsl-functions.php:244
2592
  msgid "Sunday"
2593
  msgstr ""
2594
 
2595
+ #: inc/wpsl-functions.php:274
2596
  #, php-format
2597
  msgid "Mon %sTue %sWed %sThu %sFri %sSat Closed %sSun Closed"
2598
  msgstr ""
2599
 
2600
+ #: inc/wpsl-functions.php:290
2601
  msgid "Satellite"
2602
  msgstr ""
2603
 
2604
+ #: inc/wpsl-functions.php:291
2605
  msgid "Hybrid"
2606
  msgstr ""
2607
 
2608
+ #: inc/wpsl-functions.php:292
2609
  msgid "Terrain"
2610
  msgstr ""
2611
 
2612
+ #: inc/wpsl-functions.php:307
2613
  msgid "(city) (state) (zip code)"
2614
  msgstr ""
2615
 
2616
+ #: inc/wpsl-functions.php:308
2617
  msgid "(city), (state) (zip code)"
2618
  msgstr ""
2619
 
2620
+ #: inc/wpsl-functions.php:309
2621
  msgid "(city) (zip code)"
2622
  msgstr ""
2623
 
2624
+ #: inc/wpsl-functions.php:310
2625
  msgid "(city), (zip code)"
2626
  msgstr ""
2627
 
2628
+ #: inc/wpsl-functions.php:311
2629
  msgid "(zip code) (city) (state)"
2630
  msgstr ""
2631
 
2632
+ #: inc/wpsl-functions.php:312
2633
  msgid "(zip code) (city)"
2634
  msgstr ""
readme.txt CHANGED
@@ -4,8 +4,8 @@ Contributors: tijmensmit
4
  Donate link: https://www.paypal.me/tijmensmit
5
  Tags: google maps, store locator, business locations, geocoding, stores, geo, zipcode locator, dealer locater, geocode, gmaps, google map, google map plugin, location finder, map tools, shop locator, wp google map
6
  Requires at least: 3.7
7
- Tested up to: 4.7
8
- Stable tag: 2.2.8
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl.html
11
 
@@ -126,6 +126,15 @@ If you find a plugin or theme that causes a conflict, please report it on the [s
126
 
127
  == Changelog ==
128
 
 
 
 
 
 
 
 
 
 
129
  = 2.2.8, April 30, 2017 =
130
  * Added: Support for [Polylang](https://wordpress.org/plugins/polylang/).
131
  * Added: A [wpsl_direction_travel_mode](https://wpstorelocator.co/document/wpsl_direction_travel_mode/) filter that enabled you to change the used [travel mode](https://developers.google.com/maps/documentation/javascript/directions#TravelModes) for the directions.
4
  Donate link: https://www.paypal.me/tijmensmit
5
  Tags: google maps, store locator, business locations, geocoding, stores, geo, zipcode locator, dealer locater, geocode, gmaps, google map, google map plugin, location finder, map tools, shop locator, wp google map
6
  Requires at least: 3.7
7
+ Tested up to: 4.9
8
+ Stable tag: 2.2.9
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl.html
11
 
126
 
127
  == Changelog ==
128
 
129
+ = 2.2.9, July 9, 2017 =
130
+ * Added: The possibility to load [custom images](https://wpstorelocator.co/document/change-marker-cluster-images/) for the marker clusters.
131
+ * Added: An option to the map section to disable the zoom level from being automatically adjusted after a search is complete. If it's disabled then it will focus on the start point, and use the zoom level from the 'Initial zoom level' field.
132
+ * Added: A check that prevents the search radius / max results value used in the SQL query from being bigger then the max value set on the settings page.
133
+ * Fixed: The get_default_filter_value func not returning the default value for the search radius field ( see next item ).
134
+ * Changed: Had to rename the param for the search radius in the AJAX call from radius to search_radius to make it match with the settings page value.
135
+ * Note: If you're using custom code that relies on the returned paramater being radius, then rename it to search_radius.
136
+ * Changed: Updated the .pot file.
137
+
138
  = 2.2.8, April 30, 2017 =
139
  * Added: Support for [Polylang](https://wordpress.org/plugins/polylang/).
140
  * Added: A [wpsl_direction_travel_mode](https://wpstorelocator.co/document/wpsl_direction_travel_mode/) filter that enabled you to change the used [travel mode](https://developers.google.com/maps/documentation/javascript/directions#TravelModes) for the directions.
wp-store-locator.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Store Locator
4
  Description: An easy to use location management system that enables users to search for nearby physical stores
5
  Author: Tijmen Smit
6
  Author URI: https://wpstorelocator.co/
7
- Version: 2.2.8
8
  Text Domain: wpsl
9
  Domain Path: /languages/
10
  License: GPL v3
@@ -58,7 +58,7 @@ if ( !class_exists( 'WP_Store_locator' ) ) {
58
  public function define_constants() {
59
 
60
  if ( !defined( 'WPSL_VERSION_NUM' ) )
61
- define( 'WPSL_VERSION_NUM', '2.2.8' );
62
 
63
  if ( !defined( 'WPSL_URL' ) )
64
  define( 'WPSL_URL', plugin_dir_url( __FILE__ ) );
4
  Description: An easy to use location management system that enables users to search for nearby physical stores
5
  Author: Tijmen Smit
6
  Author URI: https://wpstorelocator.co/
7
+ Version: 2.2.9
8
  Text Domain: wpsl
9
  Domain Path: /languages/
10
  License: GPL v3
58
  public function define_constants() {
59
 
60
  if ( !defined( 'WPSL_VERSION_NUM' ) )
61
+ define( 'WPSL_VERSION_NUM', '2.2.9' );
62
 
63
  if ( !defined( 'WPSL_URL' ) )
64
  define( 'WPSL_URL', plugin_dir_url( __FILE__ ) );