esc_html__( 'Map Settings', 'houzez' ), 'id' => 'houzez-googlemap-settings', 'desc' => '', 'icon' => 'el-icon-globe el-icon-small', 'fields' => array( array( 'id' => 'houzez_map_system', 'type' => 'button_set', 'title' => esc_html__('Map System', 'houzez'), 'subtitle' => esc_html__('Select the map system that you want to use', 'houzez'), 'desc' => '', 'options' => array( 'osm' => 'Open Street Map', 'mapbox' => 'Map Box', 'google' => 'Google', ), 'default' => 'osm' ), array( 'id' => 'googlemap_api_key', 'type' => 'text', 'title' => esc_html__( 'Google Maps API KEY', 'houzez' ), 'desc' => wp_kses(__( 'We strongly encourage you to get an APIs Console key and post the code in Theme Options. You can get it from here.', 'houzez' ), $allowed_html_array), 'subtitle' => esc_html__( 'Enter your google maps api key', 'houzez' ), 'required' => array('houzez_map_system', '=', 'google') ), array( 'id' => 'mapbox_api_key', 'type' => 'text', 'title' => esc_html__( 'Mapbox API KEY', 'houzez' ), 'desc' => wp_kses(__( 'Please enter the Mapbox API key, you can get from here.', 'houzez' ), $allowed_html_array), 'required' => array('houzez_map_system', '=', 'mapbox') ), array( 'id' => 'houzez_map_type', 'type' => 'button_set', 'title' => esc_html__('Map Type', 'houzez'), 'subtitle' => '', 'desc' => esc_html__( 'Select the map type', 'houzez' ), 'required' => array('houzez_map_system', '=', 'google'), 'options' => array( 'roadmap' => 'Road Map', 'satellite' => 'Satellite', 'hybrid' => 'Hybrid', 'terrain' => 'Terrain', ), 'default' => 'roadmap' ), array( 'id' => 'markerPricePins', 'type' => 'select', 'title' => esc_html__( 'Marker Type', 'houzez' ), 'desc' => esc_html__( 'Select marker type for Google Maps', 'houzez' ), //'desc' => '', 'options' => array( 'no' => esc_html__( 'Marker Icon', 'houzez' ), 'yes' => esc_html__( 'Price Pins', 'houzez' ) ), 'default' => 'no' ), array( 'id' => 'short_prices_pins', 'type' => 'switch', 'title' => esc_html__( 'Short Price', 'houzez' ), 'subtitle' => esc_html__( 'Please note that the currency switcher will not work if the short price functionality is enabled.', 'houzez' ), 'desc' => esc_html__( 'Enable or disable the short price numbers like 12K, 10M, 10B.', 'houzez' ), 'default' => 0, 'on' => esc_html__( 'Enabled', 'houzez' ), 'off' => esc_html__( 'Disabled', 'houzez' ), 'required' => array('markerPricePins', '=', 'yes'), ), array( 'id' => 'marker_spiderfier', 'type' => 'switch', 'title' => esc_html__( 'Overlapping Marker Spiderfier', 'houzez' ), 'desc' => esc_html__( 'Do you want to display the Overlapping Marker Spiderfier?', 'houzez' ), //'desc' => '', 'on' => 'Yes', 'off' => 'No', 'default' => 0, 'required' => array('houzez_map_system', '=', 'google') ), array( 'id' => 'map_default_lat', 'type' => 'text', 'title' => esc_html__( 'Default Latitude', 'houzez' ), 'subtitle' => esc_html__( 'Enter default latitude for maps', 'houzez' ), 'default' => '25.686540', 'validate' => 'numeric' ), array( 'id' => 'map_default_long', 'type' => 'text', 'title' => esc_html__( 'Default Longitude', 'houzez' ), 'subtitle' => esc_html__( 'Enter default longitude for maps', 'houzez' ), 'default' => '-80.431345', 'validate' => 'numeric' ), array( 'id' => 'geo_country_limit', 'type' => 'switch', 'title' => esc_html__( 'Limit to Country', 'houzez' ), 'desc' => '', 'subtitle' => esc_html__( 'Geo autocomplete limit to specific country', 'houzez' ), 'default' => 0, 'on' => 'Enabled', 'off' => 'Disabled', ), array( 'id' => 'geocomplete_country', 'type' => 'select', 'required' => array('geo_country_limit', '=', '1'), 'title' => esc_html__( 'Geo Auto Complete Country', 'houzez' ), 'subtitle' => esc_html__( 'Limit Geo auto complete to specific country', 'houzez' ), 'options' => $Option_Countries, 'default' => '' ), /*array( 'id' => 'map_fullscreen', 'type' => 'switch', 'title' => esc_html__( 'Map Fullscreen', 'houzez' ), 'desc' => '', 'subtitle' => esc_html__( 'Enable/Disable map fullscreen button on half map.', 'houzez' ), 'default' => 1, 'on' => 'Enabled', 'off' => 'Disabled', ), array( 'id' => 'geo_location', 'type' => 'switch', 'title' => esc_html__( 'Geo Location', 'houzez' ), 'desc' => '', 'subtitle' => esc_html__( 'Enable/Disable geo location.', 'houzez' ), 'default' => 0, 'on' => 'Enabled', 'off' => 'Disabled', 'required' => array('houzez_map_system', '=', 'google') ), array( 'id' => 'geo_location_info', 'type' => 'info', 'required' => array('geo_location', '=', '1'), 'title' => '', 'style' => 'info', 'desc' => __('Note: Google Geo location not work in chrome without SSL (https://), you can enable IPINFO location below for Google chrome if you don not have SSL. ', 'houzez') ), array( 'id' => 'ipinfo_location', 'type' => 'switch', 'title' => esc_html__( 'IPINFO Location', 'houzez' ), 'desc' => '', 'subtitle' => esc_html__( 'Enable/Disable Ip info location, only work with chrome withour SSL.', 'houzez' ), 'default' => 0, 'on' => 'Enabled', 'off' => 'Disabled', 'required' => array('houzez_map_system', '=', 'google') ), array( 'id' => 'googlemap_zoom_level', 'type' => 'text', 'title' => esc_html__( 'Default Map Zoom', 'houzez' ), 'desc' => '', 'subtitle' => esc_html__( '1 to 20', 'houzez' ), 'default' => '12', 'required' => array('houzez_map_system', '=', 'google') ),*/ ), )); Redux::setSection( $houzez_opt_name, array( 'title' => esc_html__( 'Cluster', 'houzez' ), 'id' => 'map-cluster', 'desc' => '', 'icon' => '', 'subsection' => true, 'fields' => array( array( 'id' => 'map_cluster_enable', 'type' => 'switch', 'title' => esc_html__( 'Markers cluster', 'houzez' ), 'subtitle' => '', 'desc' => esc_html__( 'enable or disable the marker cluster', 'houzez' ), 'on' => esc_html__('Enabled', 'houzez'), 'off' => esc_html__('Disabled', 'houzez'), 'default' => 1 ), array( 'id' => 'map_cluster', 'type' => 'media', 'title' => esc_html__( 'Map Cluster', 'houzez' ), 'read-only' => false, 'default' => array( 'url' => HOUZEZ_IMAGE . 'map/cluster-icon.png' ), 'desc' => esc_html__( 'Upload the map cluster icon.', 'houzez' ), ), array( 'id' => 'googlemap_zoom_cluster', 'type' => 'text', 'title' => esc_html__( 'Cluster Zoom Level', 'houzez' ), //'desc' => '', 'desc' => esc_html__( 'Enter the maximum zoom level for the cluster to appear. From 1 to 20 the fefault is 12', 'houzez' ), 'default' => '12', 'required' => array('houzez_map_system', '=', 'google') ), ) )); Redux::setSection( $houzez_opt_name, array( 'title' => esc_html__( 'Single Listing Map', 'houzez' ), 'id' => 'map-single-listing', 'desc' => '', 'icon' => '', 'subsection' => true, 'fields' => array( 1.0DUBAI PROPERTY EXPOhttps://new-jersey.aredxb.comadminhttps://new-jersey.aredxb.com/?author=1Homepage 02rich600338<blockquote class="wp-embedded-content" data-secret="TKfb1LBZxG"><a href="https://new-jersey.aredxb.com/">Homepage 02</a></blockquote><iframe sandbox="allow-scripts" security="restricted" src="https://new-jersey.aredxb.com/?embed=true#?secret=TKfb1LBZxG" width="600" height="338" title="“Homepage 02” — DUBAI PROPERTY EXPO" data-secret="TKfb1LBZxG" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe><script type="text/javascript"> /* <![CDATA[ */ /*! This file is auto-generated */ !function(d,l){"use strict";l.querySelector&&d.addEventListener&&"undefined"!=typeof URL&&(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&&!/[^a-zA-Z0-9]/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),o=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),c=new RegExp("^https?:$","i"),i=0;i<o.length;i++)o[i].style.display="none";for(i=0;i<a.length;i++)s=a[i],e.source===s.contentWindow&&(s.removeAttribute("style"),"height"===t.message?(1e3<(r=parseInt(t.value,10))?r=1e3:~~r<200&&(r=200),s.height=r):"link"===t.message&&(r=new URL(s.getAttribute("src")),n=new URL(t.value),c.test(n.protocol))&&n.host===r.host&&l.activeElement===s&&(d.top.location.href=t.value))}},d.addEventListener("message",d.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",function(){for(var e,t,s=l.querySelectorAll("iframe.wp-embedded-content"),r=0;r<s.length;r++)(t=(e=s[r]).getAttribute("data-secret"))||(t=Math.random().toString(36).substring(2,12),e.src+="#?secret="+t,e.setAttribute("data-secret",t)),e.contentWindow.postMessage({message:"ready",secret:t},"*")},!1)))}(window,document); /* ]]> */ </script>