added irl to filters, and fixed broken sort
This commit is contained in:
@@ -16,8 +16,10 @@ function mp_init_map() {
|
||||
* - let cluster_size_factor = Number
|
||||
*/
|
||||
|
||||
console.log("locations:");
|
||||
console.log(locations);
|
||||
//console.log("locations:");
|
||||
//console.log(locations);
|
||||
//console.log("filters:");
|
||||
//console.log(filters);
|
||||
|
||||
// default map center to france
|
||||
let map_center = coordinates_default;
|
||||
@@ -54,11 +56,11 @@ function mp_init_map() {
|
||||
|
||||
let map = new google.maps.Map(map_div, map_options);
|
||||
let markers = create_markers(map, locations, infowindow);
|
||||
draw_clusters(map, markers);
|
||||
|
||||
// add listener to close infowindow at any click on map
|
||||
map.addListener('click', function() {
|
||||
infowindow.close();
|
||||
});
|
||||
|
||||
draw_clusters(map, markers);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user