function mp_init_map() {

	/*
	 * following variable are created by mp_add_to_script.php
	 * - let locations =	[
	 *							{
	 *								coordinates: {}
	 *								events     : [{}, ...]
	 *							},
	 *							...
	 *						]
	 *
	 *            {                                            }
	 *            {               [                          ] }
	 * - filters: { - pays      : [ { - _name     : "" }     ] }
	 *            {               [ { - villes    : [] }     ] }
	 *            {               [ { - categories: [] }     ] }
	 *            {               [ { - indexes   : [] }     ] }
	 *            {               [ { - mode      : [] }, ...] }
	 *            {               [                          ] }
	 *            {                                            }
	 *            { - villes    : ...                          }
	 *            { - categories: ...                          }
	 *            { - mode      : ...                          }
	 *            {                                            }
	 *
	 * - let coordinates_default = {lat: ,lng: }
	 * - let icon_color = ""
	 * - let icon_color_back = ""
	 * - let icon_size = [x, y]
	 * - let cluster_size_factor = Number
	 */

	//console.log("locations:");
	//console.log(locations);
	console.log("filters:");
	console.log(filters);

	let map_div = document.getElementById("ljdp_map");
	//let filters_div = document.getElementById("ljdp_map_filters");
	let infowindow = new google.maps.InfoWindow();


	/*
	 * DRAW MAP
	 */

	let map = create_map(map_div);
	let markers = create_markers(map, locations, infowindow);
	let marker_cluster = draw_clusters(map, markers);


	//let toggle = true;
	// add listener to close infowindow at any click on map
	map.addListener('click', function() {
		infowindow.close();
		//console.log(toggle);
		////markers[index].setMap(null);
		//if (toggle === true)
		//	marker_cluster.removeMarker(markers[25]);
		//else
		//	marker_cluster.addMarker(markers[25]);
		//toggle = (toggle === true)? false : true ;
	});

}
