Skip to content

Commit 8e815a1

Browse files
committed
- pinned down leaflet.markercluster to the version that works with LeafLet 1.3
1 parent a7a9a37 commit 8e815a1

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎pygeoapi/templates/collections/coverage/index.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
<script src="https://unpkg.com/covjson-reader@0.16/covjson-reader.src.js"></script>
2323
<script src="https://unpkg.com/leaflet-coverage@0.7/leaflet-coverage.min.js"></script>
2424
{% elif data.type == "Feature" or data.type == "FeatureCollection" %}
25-
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster/dist/MarkerCluster.css"/>
26-
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster/dist/MarkerCluster.Default.css"/>
27-
<script src="https://unpkg.com/leaflet.markercluster/dist/leaflet.markercluster-src.js"></script>
25+
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.5.3/dist/MarkerCluster.css"/>
26+
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.5.3/dist/MarkerCluster.Default.css"/>
27+
<script src="https://unpkg.com/leaflet.markercluster@1.5.3/dist/leaflet.markercluster-src.js"></script>
2828
{% endif %}
2929
{% endblock %}
3030

‎pygeoapi/templates/collections/edr/query.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
<script src="https://unpkg.com/covjson-reader@0.16/covjson-reader.src.js"></script>
2323
<script src="https://unpkg.com/leaflet-coverage@0.7/leaflet-coverage.min.js"></script>
2424
{% elif data.type == "Feature" or data.type == "FeatureCollection" %}
25-
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster/dist/MarkerCluster.css"/>
26-
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster/dist/MarkerCluster.Default.css"/>
27-
<script src="https://unpkg.com/leaflet.markercluster/dist/leaflet.markercluster-src.js"></script>
25+
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.5.3/dist/MarkerCluster.css"/>
26+
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.5.3/dist/MarkerCluster.Default.css"/>
27+
<script src="https://unpkg.com/leaflet.markercluster@1.5.3/dist/leaflet.markercluster-src.js"></script>
2828
{% endif %}
2929
{% endblock %}
3030

‎pygeoapi/templates/collections/items/index.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
{% block extrahead %}
1414
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css"/>
1515
<script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet.js"></script>
16-
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster/dist/MarkerCluster.css"/>
17-
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster/dist/MarkerCluster.Default.css"/>
18-
<script src="https://unpkg.com/leaflet.markercluster/dist/leaflet.markercluster-src.js"></script>
16+
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.5.3/dist/MarkerCluster.css"/>
17+
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.5.3/dist/MarkerCluster.Default.css"/>
18+
<script src="https://unpkg.com/leaflet.markercluster@1.5.3/dist/leaflet.markercluster-src.js"></script>
1919

2020
{% if data['itemtype'] == 'record' %}
2121
<link rel="stylesheet" href="https://unpkg.com/leaflet-draw@1.0.4/dist/leaflet.draw.css"/>

0 commit comments

Comments
 (0)