From 7bff294d4abcc85125e1fb0c744a402f34046523 Mon Sep 17 00:00:00 2001 From: Saivann Date: Sun, 2 Mar 2014 09:47:49 -0500 Subject: [PATCH] Prevent markers to overflow on each other on the events map --- _templates/events.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_templates/events.html b/_templates/events.html index 62a54444..698e8f0a 100644 --- a/_templates/events.html +++ b/_templates/events.html @@ -21,7 +21,7 @@ L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 18 }).addTo(map); -var markers = new L.MarkerClusterGroup({showCoverageOnHover: false, maxClusterRadius: 20}); +var markers = new L.MarkerClusterGroup({showCoverageOnHover: false, maxClusterRadius: 40}); {% filter_for p in site.conferences sort_by:date %}{% if p.geoloc != 'false' %} L.marker([{{ p.geoloc }}]).bindPopup('{{ p.title | htmlescape }}
{{ p.date }}
{{ p.venue | htmlescape }}
{{ p.address | htmlescape }}
{{ p.city | htmlescape }}, {{ p.country | htmlescape }}').addTo(markers); {% endif %}{% endfilter_for %}