mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Prevent markers to overflow on each other on the events map
This commit is contained in:
parent
4609ccd9aa
commit
7bff294d4a
1 changed files with 1 additions and 1 deletions
|
@ -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('<b><a href="{{ p.link | htmlescape }}">{{ p.title | htmlescape }}</a></b><br>{{ p.date }}<br>{{ p.venue | htmlescape }}<br>{{ p.address | htmlescape }}<br>{{ p.city | htmlescape }}, {{ p.country | htmlescape }}').addTo(markers);
|
||||
{% endif %}{% endfilter_for %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue