added irl to filters, and fixed broken sort

This commit is contained in:
lenovo
2022-11-10 16:06:21 +01:00
parent 0520590230
commit c6a4083e97
4 changed files with 22 additions and 29 deletions

View File

@@ -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);
}