
			<script type="text/javascript">
	
				jQuery(document).ready(function($) { 		
				
					var map_id = 'initial';
					
					if(typeof _CSPM_DONE === 'undefined' || _CSPM_DONE[map_id] === true) 
						return;
					
					_CSPM_DONE[map_id] = false;
					_CSPM_MAP_RESIZED[map_id] = 0;
					
					/**
					 * Start displaying the Progress Bar loader */
					 
					if(typeof NProgress !== 'undefined'){
						
						NProgress.configure({
						  parent: 'div#codespacing_progress_map_div_'+map_id,
						  showSpinner: true
						});				
						
						NProgress.start();
						
					}
					
					/**
					 * @map_layout, Will contain the layout type of the current map.
					 * This variable was first initialized in "progress_map.js"!
					 * @since 2.8 */
										
					map_layout[map_id] = 'fit-in-map';

					/**
					 * @infobox_xhr, Will store the ajax requests in order to test if an ajax request ... 
					 * ... will overide "an already sent and non finished" request */
					
					var infobox_xhr; 
					
					/**
					 * @cspm_bubbles, Will store the marker bubbles (post_ids) in the viewport of the map */
					 
					cspm_bubbles[map_id] = []; 
					
					/**
					 * @cspm_child_markers, Will store the status of markers in order to define secondary markers from parent markers */
					 					 
					cspm_child_markers[map_id] = []; 
					
					/**
					 * Will store all the current ajax request (for infoboxes) in order to execute them when they all finish */
					
					cspm_requests[map_id] = []; 
									
					/**
					 * @post_ids_and_categories, Will store the markers categories in order to use with faceted search and to define the marker icon */
					 
					post_ids_and_categories[map_id] = {}; 
					
					/** 
					 * @post_lat_lng_coords, Will store the markers coordinates in order to use them when rewriting the map & the carousel */
					 
					post_lat_lng_coords[map_id] = {}; 
					
					/**
					 * @post_ids_and_child_status, Will store the markers and their child status in order to use when rewriting the carousel */
					 
					post_ids_and_child_status[map_id] = {}; 
					
					/**
					 * @json_markers_data, Will store the markers objects */
					 
					var json_markers_data = [];

					/**
					 * init plugin map */
					 
					var plugin_map_placeholder = 'div#codespacing_progress_map_div_'+map_id;
					var plugin_map = $(plugin_map_placeholder);
					
					/**
					 * Load Map options */
					 
											var map_options = cspm_load_map_options(false, null, 2);
										
					/**
					 * Activate the new google map visual */
					 
					google.maps.visualRefresh = true;				

					/**
					 * The initial map style */
					 
					var initial_map_style = "custom_style";
					
					/**
					 * Enhance the map option with the map type id of the style */
					 
					 
											
						/**
						 * The initial style */
						 
						var map_type_id = cspm_initial_map_style(initial_map_style, true);
			
						/**
						 * Map type control option */
						 
						var mapTypeControlOptions = {mapTypeControlOptions: {
														position: google.maps.ControlPosition.TOP_RIGHT,
														mapTypeIds: [google.maps.MapTypeId.ROADMAP,
																	 google.maps.MapTypeId.SATELLITE,
																	 google.maps.MapTypeId.TERRAIN,
																	 google.maps.MapTypeId.HYBRID,
																	 "custom_style"]				
													}};
													
						var map_options = $.extend({}, map_options, map_type_id, mapTypeControlOptions);
						
									
	
										
					/**
					 * The carousel dimensions & style */
					 
										
					 var light_map = true; 								
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(0, '391', 9.465317319754778, 1.070952601562567, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(1, '390', 16.573022558583062, 18.894769250000536, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(2, '389', -5.156598905293676, 34.802972375000536, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(3, '388', -17.643695174744956, -149.42538917333877, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(4, '387', 9.080399938694528, -11.844976843749464, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(5, '386', 15.876807774797967, -14.779345999995712, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(6, '385', 0.36391966172185986, 6.5916896796875335, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(7, '384', -1.526918922249114, 29.881954937500268, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(8, '383', -20.928093296666784, 55.44778365625007, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(9, '382', -20.95118007221748, 165.16759946875027, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(10, '381', -12.752874027062195, 45.164366140625134, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(11, '380', 21.820706609433252, -10.472705374995712, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(12, '379', -20.190035174454877, 57.56750181250027, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(13, '378', 14.739026684705376, -61.04563942187497, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(14, '377', -12.801088361372313, 34.01281431250027, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(15, '376', -18.89589319353744, 46.399389500002144, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(16, '375', 7.035475486133995, -9.362066687499464, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(17, '374', 34.38877918525263, 35.85851743750027, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(18, '373', 1.5379009024308379, 38.05321037500107, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(19, '372', 5.266007549098571, -53.70460212499893, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(20, '371', 11.232286270043119, -10.767459124999732, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(21, '370', 16.28323315574899, -61.710633859374866, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(22, '369', 8.798225127838315, -1.233898999998928, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(23, '368', 0.5273356345971595, 10.979467625002144, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(24, '367', 47.75409752906654, 2.541967625002144, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(25, '366', 25.284437595474916, 55.676995812500536, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(26, '365', 12.136005151017418, 42.62609556250027, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(27, '364', 9.188869422831674, -5.543969874997856, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(28, '363', 1.4939706366144128, 23.372045750002144, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(29, '362', 0.3955043364186259, 15.509265062501072, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(30, '361', 8.363692320278568, 20.650866625001072, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(31, '360', 7.209900148132995, 13.269769250000536, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(32, '359', 13.624633112545151, -1.058117749998928, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(33, '358', 10.487811552533966, 2.413561937501072, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(34, '357', -10.833306641940263, 17.307592625002144, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(35, '356', 51.86292370664992, 10.016101000001072, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(36, '276', 19.269664980155866, -1.849133374998928, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(37, '136', 11.264611555173593, 7.903295750002144, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
																
								/**
								 * Create the pin object */
								 								 
							    var marker_object = cspm_new_pin_object(38, '135', -29.592565549017966, 23.904534875000536, '', map_id, 'https://icestream.fr/wp-content/plugins/codespacing-progress-map/img/pin-blue.png', '21x28', 'no');
								json_markers_data.push(marker_object);
																
									
					var infobox_div = $('div.cspm_infobox_container.cspm_infobox_'+map_id);			
					var show_infobox = 'false';
					var infobox_type = 'rounded_bubble';
					var infobox_display_event = 'onload';
					var useragent = navigator.userAgent;
					var infobox_loaded = false;
					var clustering_method = false;
					var remove_infobox_on_mouseout = 'false';
											
					/**
					 * [@polyline_values] - will store an Object of all available Polylines	
					 * [@polygon_values] - will store an Object of all available Polygons					 					 
					 * @since 2.7 */
					 
					var polyline_values = [];
					var polygon_values = [];
					
										
								
					/**
					 * Build the map */
					 
					plugin_map.gmap3({	
						map:{
							options: map_options,							
							onces: {
								tilesloaded: function(map){
																		
									var carousel_output = []; 

									plugin_map.gmap3({ 										
										marker:{
											values: json_markers_data,
											callback: function(markers){
												 
																								
												/**
												 * Build the carousel items */
												 
												if(!light_map){
													
													for(var i = 0; i < markers.length; i++){	

														var post_id = markers[i].post_id;
														var is_child = markers[i].is_child;
														var marker_position = markers[i].position;
														
														/**
														 * Convert the LatLng object to array */
														 
														var lat = marker_position.lat();
														var lng = marker_position.lng();											
													
														/**
														 * Create carousel items */
														 
														carousel_output.push('<li id="'+map_id+'_list_items_'+post_id+'" class="'+post_id+' carousel_item_'+(i+1)+'_'+map_id+' cspm_border_radius cspm_border_shadow" data-map-id="'+map_id+'" data-is-child="'+is_child+'" name="'+lat+'_'+lng+'" value="'+(i+1)+'" data-post-id="'+post_id+'" style="width:'+item_width+'px; height:'+item_height+'px; background-color:'+items_background+'; '+item_css+'">');
															carousel_output.push('<div class="cspm_spinner"></div>');							
														carousel_output.push('</li>');
														
														if(i == markers.length-1){
															$('ul#codespacing_progress_map_carousel_'+map_id).append(carousel_output.join(''));	
															cspm_init_carousel(null, map_id);
														}
														
													}																						
																																					
												}	
												
																																													
												
											},											
											events:{
												mouseover: function(marker, event, elements){
													
													/**
													 * Display the single infobox */
													 
													if(show_infobox == 'true' && infobox_display_event == 'onhover')
														infobox_xhr = cspm_draw_single_infobox(plugin_map, map_id, infobox_div, infobox_type, marker, infobox_xhr, 'yes');
													
																										
														/**
														 * Apply the style for the active item in the carousel */
														 
														if(!light_map){	
															
															var post_id = marker.post_id;
															var is_child = marker.is_child;	
															var i = $('li[id='+map_id+'_list_items_'+post_id+'][data-is-child="'+is_child+'"]').attr('value');	
															
															cspm_call_carousel_item($('ul#codespacing_progress_map_carousel_'+map_id).data('jcarousel'), i);
															cspm_carousel_item_hover_style('li.carousel_item_'+i+'_'+map_id, map_id);
														
														}
													
																										
												},	
												mouseout: function(marker, event, elements){

													/**
													 * Hide the infobox */
													 
													if(show_infobox == 'true' && (infobox_display_event == 'onhover' || infobox_display_event == 'onclick') && remove_infobox_on_mouseout == 'true'){
														
														infobox_div.addClass('cspm_animated fadeOutUp');					
														infobox_div.hide().removeClass('cspm_animated fadeOutUp');
														
													}
													
												},
												click: function(marker, event, elements){
													
													var latLng = marker.position;											

													/**
													 * Center the map on that marker */
													
													map.panTo(latLng);
													
													cspm_pan_map_to_fit_infobox(plugin_map, map_id, infobox_div);													
															
													/**
													 * Display the single infobox */
													 
													if(json_markers_data.length > 0 && show_infobox == 'true' && infobox_display_event == 'onclick'){
														setTimeout(function(){																										
															infobox_xhr = cspm_draw_single_infobox(plugin_map, map_id, infobox_div, infobox_type, marker, infobox_xhr, 'yes');
														}, 400);
													}
													
																			
													
														/**
														 * Apply the style for the active item in the carousel */
														 
														if(!light_map){	
															
															var post_id = marker.post_id;
															var is_child = marker.is_child;
															var i = $('li[id='+map_id+'_list_items_'+post_id+'][data-is-child="'+is_child+'"]').attr('value');
														
															cspm_call_carousel_item($('ul#codespacing_progress_map_carousel_'+map_id).data('jcarousel'), i);
															cspm_carousel_item_hover_style('li.carousel_item_'+i+'_'+map_id, map_id);
														
														}
													
																										
																										
												}
											}
										}
									});									
									
																			$('div.codespacing_map_zoom_in_'+map_id+', div.codespacing_map_zoom_out_'+map_id).show(); 									
									/**
									 * Draw infoboxes (onload event) */
									 
									if(json_markers_data.length > 0 && clustering_method == true && show_infobox == 'true' && infobox_display_event == 'onload'){			
										
										google.maps.event.addListenerOnce(clusterer, 'clusteringend', function(cluster) {																	
											setTimeout(function(){
												cspm_draw_multiple_infoboxes(plugin_map, map_id, '<div class="cspm_infobox_container cspm_border_shadow cspm_infobox_multiple cspm_infobox_initial rounded_bubble" style="width:60px; height:60px;" data-move-carousel="true"><div class="blue_cloud"></div><div class="cspm_arrow_down rounded_bubble"></div></div>', infobox_type, 'yes');
												infobox_loaded = true;
											}, 1000);																
										});	
										
									}else if(json_markers_data.length > 0 && clustering_method == false && show_infobox == 'true' && infobox_display_event == 'onload'){
										
										setTimeout(function(){
											cspm_draw_multiple_infoboxes(plugin_map, map_id, '<div class="cspm_infobox_container cspm_border_shadow cspm_infobox_multiple cspm_infobox_initial rounded_bubble" style="width:60px; height:60px;" data-move-carousel="true"><div class="blue_cloud"></div><div class="cspm_arrow_down rounded_bubble"></div></div>', infobox_type, 'yes');
											infobox_loaded = true;
										}, 1000);
										
									}else if(json_markers_data.length > 0 && show_infobox == 'true' && infobox_display_event != 'onload'){
										
										infobox_loaded = true;
											
									}
									
									/**
									 * End the Progress Bar Loader */
									 	
									if(typeof NProgress !== 'undefined')
										NProgress.done();
									
								}
								
							},
							events:{
								click: function(){

									/**
									 * Remove single infobox on map click (onclick, onhover events) */
									 
									if(json_markers_data.length > 0 && show_infobox == 'true' && infobox_display_event != 'onload'){										
										infobox_div.hide();
										infobox_div.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){
											infobox_div.hide().removeClass('cspm_animated fadeOutUp');
										});
									}
									
								},
								idle: function(){								
									if(infobox_loaded && !cspm_is_panorama_active(plugin_map)){
										setTimeout(function(){
											if(json_markers_data.length > 0 && show_infobox == 'true' && infobox_display_event == 'onload'){								
												cspm_draw_multiple_infoboxes(plugin_map, map_id, '<div class="cspm_infobox_container cspm_border_shadow cspm_infobox_multiple cspm_infobox_initial rounded_bubble" style="width:60px; height:60px;" data-move-carousel="true"><div class="blue_cloud"></div><div class="cspm_arrow_down rounded_bubble"></div></div>', infobox_type, 'yes');
											}
										}, 200);
									}
								},				
								bounds_changed: function(){
									if(json_markers_data.length > 0){
										if(json_markers_data.length > 0 && show_infobox == 'true' && infobox_display_event != 'onload'){
											cspm_set_single_infobox_position(plugin_map, infobox_div);
										}else $('div.cspm_infobox_container').hide();
									}
								},
								drag: function(){
									if(json_markers_data.length > 0){
										if(show_infobox == 'true' && infobox_display_event != 'onload'){
											cspm_set_single_infobox_position(plugin_map, infobox_div);
										}else $('div.cspm_infobox_container').hide();
									}
								},
								center_changed: function(){
									setTimeout(function() {
										$('div[class^=cluster_posts_widget]').removeClass('flipInX');
										$('div[class^=cluster_posts_widget]').addClass('cspm_animated flipOutX');
										setTimeout(function() {
											$('div.cluster_posts_widget_'+map_id).mCustomScrollbar("destroy");
										}, 500);
									}, 500);
								}
							}
						},					
						
												
												
												 
												
												 
						 
														
							styledmaptype:{
								id: "custom_style",
								options:{
									name: "Custom style",
									alt: "Show Custom style"
								},
								styles: [{"featureType":"administrative","elementType":"labels.text.fill","stylers":[{"color":"#444444"}]},{"featureType":"landscape","elementType":"all","stylers":[{"color":"#f2f2f2"}]},{"featureType":"poi","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"road","elementType":"all","stylers":[{"saturation":-100},{"lightness":45}]},{"featureType":"road.highway","elementType":"all","stylers":[{"visibility":"simplified"}]},{"featureType":"road.arterial","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"water","elementType":"all","stylers":[{"color":"#1a5086"},{"visibility":"on"}]}]							},
							
												 
							
										
					});		
					
					/**
					 * Hide/Show UI Controls depending on the streetview visibility */
					
					var mapObject = plugin_map.gmap3('get');
					
					if(typeof mapObject.getStreetView === 'function'){
												
						var streetView = mapObject.getStreetView();
					
						google.maps.event.addListener(streetView, "visible_changed", function(){
							
							if(this.getVisible()){
								
																	$('div.codespacing_map_zoom_in_'+map_id+', div.codespacing_map_zoom_out_'+map_id).hide();
																 
																 
																 
																
								$('div.cspm_infobox_container').hide();
								 
														
							}else{
								 
																	$('div.codespacing_map_zoom_in_'+map_id+', div.codespacing_map_zoom_out_'+map_id).show();
																 
																 
																 
																 
														
								if(json_markers_data.length > 0 && infobox_loaded){
									setTimeout(function(){
										if(show_infobox == 'true' && infobox_display_event == 'onload'){								
											cspm_draw_multiple_infoboxes(plugin_map, map_id, '<div class="cspm_infobox_container cspm_border_shadow cspm_infobox_multiple cspm_infobox_initial rounded_bubble" style="width:60px; height:60px;" data-move-carousel="true"><div class="blue_cloud"></div><div class="cspm_arrow_down rounded_bubble"></div></div>', infobox_type, 'yes');
										}
									}, 200);
								}
							}
								
						});
						
					}
					 		
										
															
						/**
						 * Call zoom-in function */
						 
						cspm_zoom_in($('div.codespacing_map_zoom_in_'+map_id), plugin_map);
					
						/**
						 * Call zoom-out function */
						 
						cspm_zoom_out($('div.codespacing_map_zoom_out_'+map_id), plugin_map); 					
											
						cspm_fitIn_map(map_id);
						$(window).resize(function(){ cspm_fitIn_map(map_id); }); 					 
											
						/**
						 * Store the window width */
						
						var windowWidth = $(window).width();
	
						$(window).resize(function(){
							
							/**
							 * Check window width has actually changed and it's not just iOS triggering a resize event on scroll */
							 
							if ($(window).width() != windowWidth) {
					
								/**
								 * Update the window width for next time */
								 
								windowWidth = $(window).width();
			
								setTimeout(function(){
									
									var latLng = new google.maps.LatLng (29.225915, 24.922908);							
								
									var map = plugin_map.gmap3("get");	
									
									if(typeof map.panTo === 'function')
										map.panTo(latLng);
									
									if(typeof map.setCenter === 'function')
										map.setCenter(latLng);
										
								}, 500);
								
							}
							
						});

					 
					 
										 
											
					_CSPM_DONE[map_id] = true;
	
				});
			
			</script> 
			
			{"id":577,"date":"2017-05-03T09:13:24","date_gmt":"2017-05-03T09:13:24","guid":{"rendered":"https:\/\/icestream.fr\/nos-marches\/"},"modified":"2023-02-16T17:20:01","modified_gmt":"2023-02-16T16:20:01","slug":"our-markets","status":"publish","type":"page","link":"https:\/\/icestream.fr\/en\/our-markets\/","title":{"rendered":"Our markets"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text css=&#8221;.vc_custom_1640255679119{margin-top: 25px !important;}&#8221;]<\/p>\n<h2 style=\"text-align: center;\">Icestream is a French brand set up in more than 30 countries<br \/>\nin Europe, DOM-TOM and Africa<\/h2>\n<p>[\/vc_column_text][vc_column_text]<\/p>\n<p style=\"text-align: center;\"><div class=\"codespacing_progress_map_area\" data-map-id=\"initial\" data-show-infobox=\"false\" data-infobox-display-event=\"onload\" style=\"width:100%;\"><input type=\"hidden\" name=\"cspm_map_page_id_initial\" id=\"cspm_map_page_id_initial\" value=\"577\" \/><div id=\"pulsating_holder\" class=\"initial_pulsating\"><div class=\"dot\"><\/div><\/div><div class=\"codespacing_zoom_container\"><div class=\"codespacing_map_zoom_in_initial cspm_zoom_in_control cspm_border_shadow cspm_border_top_radius\" title=\"Zoom in\"><img decoding=\"async\" src=\"https:\/\/icestream.fr\/wp-content\/plugins\/codespacing-progress-map\/img\/addition-sign.png\" alt=\"\" title=\"\"><\/div><div class=\"codespacing_map_zoom_out_initial cspm_zoom_out_control cspm_border_shadow cspm_border_bottom_radius\" title=\"Zoom out\"><img decoding=\"async\" src=\"https:\/\/icestream.fr\/wp-content\/plugins\/codespacing-progress-map\/img\/minus-sign.png\" alt=\"\" title=\"\"><\/div><\/div><div class=\"cluster_posts_widget_initial cspm_border_shadow\"><div class=\"blue_cloud\"><\/div><\/div><div id=\"codespacing_progress_map_div_initial\" class=\"gmap3\" style=\"width:100%; height:100%\"><\/div><\/div>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_column_text]<\/p>\n<h2>Head Office<\/h2>\n<p>175 All\u00e9e de l&#8217;Ecopark<br \/>\n59118 Wambrechies<br \/>\nFRANCE<\/p>\n<h3><\/h3>\n<p>[\/vc_column_text][\/vc_column][vc_column width=&#8221;1\/2&#8243; css=&#8221;.vc_custom_1494919458313{padding-right: 5px !important;padding-left: 5px !important;}&#8221;][vc_column_text css=&#8221;.vc_custom_1641205381167{margin-bottom: 25px !important;}&#8221;]<\/p>\n<h3>Become a distributor<br \/>\nBuy an Icestream air conditioner<\/h3>\n<p>[\/vc_column_text][vc_column_text]<a class=\"button icebtn button_size_3 button_js\" href=\"https:\/\/icestream.fr\/en\/contact-us\/\"      style=\" background-color:#1a5086 !important; color:#fff;\"><span class=\"button_label\">Contact Us<\/span><\/a>\n[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_column_text css=&#8221;.vc_custom_1640255679119{margin-top: 25px !important;}&#8221;] Icestream is a French brand set up in more than 30 countries in Europe, DOM-TOM and Africa [\/vc_column_text][vc_column_text] [\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_column_text] Head Office<span class=\"excerpt-hellip\"> [\u2026]<\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-577","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/icestream.fr\/en\/wp-json\/wp\/v2\/pages\/577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icestream.fr\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/icestream.fr\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/icestream.fr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/icestream.fr\/en\/wp-json\/wp\/v2\/comments?post=577"}],"version-history":[{"count":16,"href":"https:\/\/icestream.fr\/en\/wp-json\/wp\/v2\/pages\/577\/revisions"}],"predecessor-version":[{"id":2823,"href":"https:\/\/icestream.fr\/en\/wp-json\/wp\/v2\/pages\/577\/revisions\/2823"}],"wp:attachment":[{"href":"https:\/\/icestream.fr\/en\/wp-json\/wp\/v2\/media?parent=577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}